last day (19 days later) » 

6:49 PM
First post.
Coding maxims:
*All functions and methods should have no more than 4 parameters, with the exception of compilers.
*Code that is written for more than 4 parameters is written WRONG. Re-architect your code.
This is called The Rule of Four. There is, at any given time, one exception to the rule (called a 4+1 configuration). When this occurs, it is because of either a meta or abstracted "ground state" problem that needs accessed.
Consider architecting your code-base towards this rule. If your module/file has 20 functions, look for the hidden order which would group it into sets of four -- like the math operators (+,-,\,). The equal sign is the meta here.
*This rule almost always works. When it doesn't, you're probably not familiar enough with the problem domain.
 

  last day (19 days later) »