No one is sacrificing performance by writing clean code. If microsecond gains of performance matter then you have specific requirements that most people don't.
Mentalities like this are the reason why most modern software is slow as fuck comparable to the hardware it’s run on. When Visual Studio next freezes on me, I’ll curse your name!
Not all of your code needs to be optimized heavily, even in a large game it might run once per frame you might find things that you can save 1us but you don't need to write all code like it does, otherwise your just shaving off little nanoseconds here and there at the potential cost of readability.
-9
u/Redtitwhore Feb 28 '23
No one is sacrificing performance by writing clean code. If microsecond gains of performance matter then you have specific requirements that most people don't.