What’s your most controversial programming opinion?: Someone asked this question on StackOverflow, and the answers were fast and furious. On top of the answers, there are hundreds of comments on the answers. The entire page is a great read.
Opinion: Most comments in code are in fact a pernicious form of code duplication.
[…] Not all programmers are created equal. […] n actual fact, the performance of one developer can be 10x or even 100x that of another.
[…] Programmers who don’t code in their spare time for fun, will never become as good as those that do
[…] If you only know one language, no matter how well you know it, you’re not a great programmer.
[…] Print statements are a valid way to debug code
And my favorite:
The use of hungarian notation should be punished with death.
Follow Gadgetopia on Twitter
I like the "Most comments in code are in fact a pernicious form of code duplication."
spaces versus tabs
and
braces on their own lines
Tabs. And opening and closing braces should be on the same vertical axis.
Goto (in basic) isn't evil.