Jul 10

I feel good because the way I am trying to write code follows more and more the principles described on this wiki page:
Spartan programming strives for simultaneous minimization of all of the following measures of code complexity:
- horizontal complexity, that is, the depth of nesting of control structures, just as the total line length.
- vertical complexity, that is, the code length in lines.
- token count
- character count
- parameters that is the number of parameters to a routine or a generic structure.
- variables
- looping instruction, that is the number of iterative instructions and their nesting level.
- conditionals, that is the number of
ifand multiple branchswitchstatements.
Check out the post and this example!





August 3rd, 2008 at 1:58 am
Brilliant!