Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In short your stance is to sacrifice readability for performance.

Legit in some cases. But for usual business software, code is for humans (compiler will make machine code intended for the machine)





Readability belongs to documentation. Code should have certain technical aesthetic, it should be easy to navigate it, but why its operation should be obvious more than that of any complex mechanism? Nobody demands a mechanical watch to be readable or have meaningful names for the parts.

It is not just performance. A minimal component gives you flexibility: you may make the whole system performant or you may trade extra performance to reach a different goal, such as robustness or composability. It is a more fundamental principle, common to construction in general: a thing should do all it has to do and should not do anything more.


Optimisation usually sacrifices some flexibility and/or robustness.

Valid if needed, but exists




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: