What is the golden rule for when to split code up into functions?
Asked 2010-06-24T05:18:40.180
9
It's good to split code up into functions and classes for modularity / decoupling, but if you do it too much, you get really fragmented code which is also not good.
What is the golden rule for when to split code up into functions?