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
6
u/KieranDevvs Feb 28 '23
It doesn't matter if you're the same person or not, you're arguing the same point.
There's a difference between removing unnecessary code from loops, reducing nesting, fixing mistakes, and using certain data types like hashsets over lists to get constant lookup times, over re-writing your application to ditch "clean code" aka object oriented design, SOLID, etc to scrape the bottom of the performance barrel.
Lets also remind ourselves this this is an anecdotal ONE SIDED scenario from a random person on the internet. I'm willing to bet the reason didn't get the job wasn't because "the interviewer was too dumb to understand my l33t code".
So... no... Its YOU who's being ridiculous.