Not Enough Parameters Gang

Not Enough Parameters Gang
function-design-memes, code-reuse-memes, clean-code-memes, overengineering-memes, programming-principles-memes | ProgrammerHumor.io

The eternal dilemma of function design perfectly illustrated on an IQ bell curve. The low-IQ crowd (0.1%) and high-IQ geniuses (0.1%) agree: "Just add a new function." Meanwhile, the average devs (34%) in the middle are sweating bullets, desperately clinging to their sacred principle of code reuse: "NO WE SHOULD ADD ANOTHER PARAMETER AND REUSE CODE!"

It's the horseshoe theory of programming - both extremes of the intelligence spectrum somehow reach the same conclusion while the "well-actually" crowd in the middle is busy creating those monstrous functions with 17 optional parameters, 9 of which are booleans. And they wonder why nobody wants to maintain their code...