When methods should be used?
Methods are not needed, if
- Project is a small one (few thousands row of code) and
- Project is not a critical (e.g. need to be maintained over a long period of time)
Few notes about the ’small’:
- 100K lines is not 10 times 10K lines! Often in practice 50-75 times 10 lines
- Complexity increases exponentially with the size of the software
- ”Ripple effect": error correction in the maintenance causes easily by side-effect new errors when the size of the program grows