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

Thanks for bringing it back to the OP's topic, but I was specifically addressing the quote the OP made about number of errors per LOC tally. I was pointing out how it could be weak metric, since the languages used in the examples might contain many LOC of template boilerplate that would make for a low bug:LOC off the bat.

An ADA hello world is 5 LOC vs. 1 for a lot of other languages.

Java is not too different.

J and Python are 1 LOC, and typically not template text, but originally coded.



I'm ok with boilerplate when it buys you something useful, like readability, explicitness, and security, as in Ada.




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

Search: