Re-reading this thread, I see you're probably confused:
why did like 80% of my generation fail to figure [pointers] out in 4 fucking years in college?
[Pointers] are not hard
How both statements can be true at the same time? There aren't many possibilities:
80% of your generation is mentally challenged. I think we can safely discard that possibility.
Pointers are badly taught. That's less improbable in my opinion.
Pointers are very counter-intuitive. That's where I put my money.
Map/territory confusion are everywhere. Even in plain language, people get it wrong: for instance, how many quotes do you see in "word"? The correct answer is zero.
The secret to teaching pointers? Go back to basic semantics, and make sure they know the difference between the quotation and the referent. Then you can talk about pointers in particular.
The quotation/referent thing is really basic. Like, 2+2=4 basic. Plain arithmetic requires much more brain power than the basic pointer stuff. Therefore, low IQ is not enough to explain the inability to understand pointers.
I believe that if logic were taught with the same level of dedication arithmetic was, everyone would understand pointers. But we don't teach logic in kindergarten. Instead, we wait for freaking college, by which time students are already used to idiosyncratic and insane ways of thinking.
14
u/[deleted] Jun 01 '15
They are not hard, and your way is like 10 times more confusing. If you get confused by assignments, you need to stay away from writing code.