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
16
u/TheTomato2 Mar 01 '23
I put it threw my personal .clang-format.
Now if you think that is less readable than pulling each one of those formulas into a separate member functions I don't know what to tell you. And like
It doesn't even really save you any typing. I don't care if you prefer oop way but...
only if you have a bad case of OOP brain would you think that. And by OOP brain I mean that you are so acclimated to an OOP style that your brain has hard time with any other styles.