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

Wow, mostly terrible advice.


Can you elaborate?


I find it odd that I have to, other than 7 and 10, which I'm not saying are necessarily always good advice, the rest are just terrible advice that I think are self evidently terrible advice. Experience has taught me nearly exactly the opposite; the advice strikes me as bad programmers who only know one language generalizing their poor procedural skills across domains they don't understand.

Of course, that's the point of the article, "Really" controversial. Seems most people voted those opinions down as poor advice, which they're correct in doing.


I would also like to hear an explanation. I found many of the topics thought provoking, such as Single Entry Single Exit.


Well, some of the suggestions have been fairly thoroughly examined by now, and often with quite clear results.

For example, anyone who advocates writing only extremely short functions because they leave less room for bugs appears to be wrong in about the same way that someone who thinks that 2+2=5 or that a chainsaw is a good implement for brain surgery is wrong.




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

Search: