The Fallacy of Small Functions
Decades of computer programming advice, best practices, and books have taught that small functions are good. That’s misleading at best and counterproductive at worst: increasing complexity rather than reducing it.
For brevity, I’m going to say things are false or wrong without explaining because you already have a fantastic explanation: A Philosophy of Software Design by John Ousterhout. Everything I’m arguing here is explained in that book.
Here’s an example of bad design:
Read more...