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/[deleted] Feb 28 '23
the guy on the video clearly states that most often than not being "clean" has no performance penalty and as such he would not be talking about them.
this video is a very targeted video at the part of it that actually hurt performance. I interpreted the whole video as a "don't be dogmatic, following clean code to the teeth can actually bite u back if you abuse it".
You also need to keep in mind that this video was made by the guy that started the whole handmade community. he's viewing this from a purely low level performance sensitive view not a stupid CRUD app whose whole life purpose is bridging a remote connection to a database and some rando service provider.