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

Or it could be that it’s subjective and there is no truly objective answer.


Well, it could be if we had more research.

From my experience, and from my reading on tons of books, code, clean code suggestions, bug reports, etc, patterns of bugs are more commonly found on such code bits, that sacrifice clarity for succinctness or "clever points" (in fact that's the very premise of TFA).

Most respected elders in development also warn against those types of code.

Lacking objective research, that's the best we can get, and I'd say better than "it works for me".


The mistakes that people make are not subjective. They can detect when they make a mistake, and must do so to correct it. When people make mistakes by using a syntactic construct, that's something can be measured, and people do measure it, which is one of the ways they develop syntax preferences. The problem is that we don't ever measure it in an unbiased and representative manner.




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

Search: