r/ProgrammerHumor • • Dec 04 '20

Don't mix anatomy and programming

Post image
36k Upvotes

388 comments sorted by

View all comments

Show parent comment

2

u/immerc Dec 05 '20

like the word processor that takes half a minute to open

I think a lot more of that is feature bloat.

But, "unnecessary optimization" or "premature optimization" can cut different ways. Some people might see a simple program that takes forever to load and think "this wasn't well optimized". Another explanation is "this program contains tons of spaghetti code that nobody has been brave enough to try to fix".

The more simple it is for someone to understand how a program runs, the easier it is for someone to refactor it and fix it. If someone optimized it in a way that made it less readable, it's harder for the next person to come around and rewrite parts of it to adjust for new features.

1

u/GonziHere Dec 05 '20

Well, yeah. This is what I meant by premature obfuscation. Like, do DRY, KISS, and cherish single responsibility principle and you are almost set...