IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Rock Ridge Farm (Larry) on July 03, 2006, 05:10:19 AM

Title: Software/Project Orginization
Post by: Rock Ridge Farm (Larry) on July 03, 2006, 05:10:19 AM
Is it better to keep all code in one .src mod or break it up.
What would be the standard for breaking it up - each function/subroutine in it's own module?
I know the compiler does not care but it is eaiser to support if broken up.
I was always told to breake code up into small blocks with each block in a separate module.
I am looking for opinions.
Title: Re: Software/Project Orginization
Post by: Zen on July 03, 2006, 05:12:07 AM
Well when i am making projects, i put class definitions in one file, each seperate method in its own file and subroutines in there own seperate files also.

Lewis
Title: Re: Software/Project Orginization
Post by: J B Wood (Zumwalt) on July 05, 2006, 07:00:45 AM
break it up into logical blocks and have the logical blocks be in there own src file
at most you should keep your src files down to less than 5000 lines of code (prefferably under 2500)
you are right the compiler doesn't give a dang, its for ease of use and understanding