Posts Tagged ‘ refactoring ’

Monster functions (Raaargh!)

August 12, 2011
By
Monster functions (Raaargh!)

It’s widely considered good programming practice to have lots of little functions rather than a few big functions. The reasons behind this are simple. When your program breaks, it’s much nicer to debug a five line function than a five hundred line function. Additionally, by breaking up your code into little chunks, you often find

Read more »