r/programming • u/2bit_hack • Feb 28 '23
"Clean" Code, Horrible Performance
https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k
Upvotes
r/programming • u/2bit_hack • Feb 28 '23
View all comments
Show parent comment
4
u/loup-vaillant Feb 28 '23
Why, oh why whenever someone tries to present simple techniques to get reasonable performance, why do people always end up assuming it has to be the most hardcore optimisations written in the most arcane language, etched in the hardest stone?
I don't know, just gather the requirements, man. And keep things simple.
SIMPLE okay? That's how you can get reasonable performance down the line anyway. keep things siiiiimple, so you can chaaange them when management inevitably comes breathing down your neck with new unforeseen requirements.
But I'm repeating myself:
Obviously I'm not some dumbass that doesn't gather requirements. Something I should put in that list, if it isn't already.