What are some programming questions (or mistakes) you get wrong only as you get better?
Posted
by BlueRaja
on Stack Overflow
See other posts from Stack Overflow
or by BlueRaja
Published on 2010-01-20T14:12:08Z
Indexed on
2010/03/18
18:51 UTC
Read the original article
Hit count: 286
In programming, as many professions, there are mistakes you'll make now that you may not have made as a beginner. For instance, consider pointers:
In C++, is there any difference between arrays and pointers?
The beginner will say yes, they are two completely different concepts, and treat them as such.
The intermediate programmer (having learned that arrays are pointers internally) will tell you no, they are the same thing, and may miss some crucial bugs by interchanging them all willy-nilly.
The expert, however, will again say they are different things (ex. see here or here).
What other questions/mistakes are like this?
© Stack Overflow or respective owner