5 ms·
Virtually every single performance thread on stack exchange has that one guy that says regurgitates something about premature optimizations and maintainability
by pxmpxm 4y ago
Virtually every single performance thread on stack exchange has that one guy that says regurgitates something about premature optimizations and maintainability eg
Q
"I'm working on high throughput data science thing, is branchless math better than conditional instructions here, because this thing needs to take less than a lifetime to finish"
A
"You should focus on code readability, it's way more important ..yadeyadaya ... i work on python and websites"
I blame slipping standards in CS programs and the entire concept of "information science"
- aliqot 4y agoA good mentor told me once not to let 'perfect' be the enemy of 'good'. At the time I thought it was clever but it didn't really hit home until year 10 or 15. I did a lot of things that made no difference to the user, but to me was finesse.
- happytoexplain 4y agoIt's definitely a good thing to keep in mind. Perfectionism is a real danger. However, do note that there are entire categories of code quality worth keeping up that make no difference to users now. A simple example would be maintainability (whatever that means in each case).
- userbinator 4y agoSX/SO are full of such anti-intellectual cargo-culting. I've avoided them for anything but the shortest of answers.
- rixed 4y agoIs he the same guy as the one who keeps repeating that nowadays java is actually faster than C++?
- ncmncm 4y agoThe hell of it is, there is plenty of Java that really is faster than plenty of C++. You can make C++ go as slow as you like.
- viraptor 4y agoTbh, most performance questions I see on SE are bad too. The necessary question here is: what's the profile of the whole thing - does this line of math even matter? The questions that are already researched to the level where the original question makes sense are extremely rare - and I do enjoy those.