View Single Post
Old 06-30-2012, 11:06 AM   #9
dentin
Member
 
Join Date: Apr 2008
Home MUD: Alter Aeon
Posts: 245
dentin is on a distinguished road
Re: why are the threads backwards?

If you write the main routine first and put it at the top of the file, all the static subroutines below it will need headers manually inserted at the top for it to compile clean. If you move the main routine to the bottom, all the static functions it needs have been defined by the time you get to it, no extra headers required. Also, reverse ordering somehow seems easier for me to read.

-dentin

Alter Aeon MUD
dentin is offline   Reply With Quote