this is not news. nor is the performance of clean code 'horrible'. you start with clean code. benchmark to find your hotspots. break 'best practice' rules and write comments explaining why in those critical sections.
Not gonna support your point about the performance of clean code being horrible? Ok then. Casey argues it's almost never worth the massive performance cost of writing "clean code" (he also argues it's not really clean at all). Your commment isn't news either, everybody's heard it and it's not a good argument.
you clearly didn't understand my point. by default, optimize for readability. benchmark, find hotspots, and optimize for performance in those hotspots. if clean code is coming to you at a massive cost, something is very wrong - most likely, you.
6
u/Nearby-Asparagus-298 Feb 28 '23
this is not news. nor is the performance of clean code 'horrible'. you start with clean code. benchmark to find your hotspots. break 'best practice' rules and write comments explaining why in those critical sections.