After how much line of code a function should be break down?
- by Sumeet
While working on existing code base, I usually come across procedures that contain Abusive use of IF and Switch statements. The procedures consist of overwhelming code, which I think require re-factoring badly. The situation gets worse when I identify that some of these are recursive as well.
But this is always a matter of debate as the code is…