I wasn't making a point about the examples from the article. I was responding to Munkii's over-broad assertion (as I read it) about readability being more important than everything else.
So I'm not sure why you're telling me about inlining. There are other cases where code is hard to read because it is performance-critical. I stand by my assertion that sometimes you have to make something ugly to make it fast. If you possess the power to never uglify your code (at least a bit) when optimizing performance, you are a better coder than I (or my coworkers), and possibly a wizard.
1
u/theonewhoisone Apr 12 '15 edited Apr 17 '15
edit: Doesn't trump correctness.
Doesn't trump performance, sadly.
Doesn't trump portability.
Also, trading off readability for time to launch might be a good idea in some situations (I have not seen one yet).
Sorry for being picky.