Re:Rob Pike's 5 Rules of Programming
by akoboldfrying on Wednesday March 18, 2026 @08:34PM
(#47433206)
I think it mostly happens because a little bit of abstraction is nearly always uncontroversially good. If you want to print a line of text 5 times, you'll instinctively write a for loop to do it, instead of copy-pasting the original print() statement an extra 4 times. The cognitive overhead upon reading this code is near zero, since we're all so familiar with it. This is abstraction, nonetheless.
So a little bit is always good, and more is sometimes very good -- even memorably good. Together these cause many of us to extrapolate too far, but for understandable reasons.
I truly believe this comes from devs who want to feel smart by "architecting" solutions to future problems before those problems have become well defined.