Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To put it another way... What is the most commonly held and frustrating misunderstanding about programming, you have encountered?

Which widespread and longstanding myths/misconceptions do you find hard for programmers to dispel/correct.

Please, explain why this is a myth.


locked by Yannis Mar 13 '12 at 20:47

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

I'd like to see Mythbusters take on some of these. – spong Sep 9 '10 at 17:47
Anyone up for a Mythbuggers YouTube channel? :-) – Tom Wijsman Sep 9 '10 at 21:32
Ooooh, MythBusters and race conditions! Meesa like! – user1249 Oct 24 '10 at 14:59
@TomWij that would be great to have a website with such name! – Junior M Oct 24 '10 at 15:21

61 Answers 61

That comments are actually useful

I think you meant the opposite ... – HoLyVieR Sep 13 '10 at 2:52
Let's rephrase that as "That comments are inherently useful", because that is obviously blatantly wrong. Comments can even be misleading or disruptive. Ideally code should be self-explanatory. Comments should only be used to add non-obvious details or explain complex code that can't be refactored into a more readable version (e.g. because doing so would be seriously inefficient or impossible). – Alan Plum Sep 19 '10 at 17:49
Totally agree. In fact overuse/incorrect of comments I would consider harmful. – Loki Astari Jan 17 '11 at 5:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.