DEV Community

Discussion on: What’s a concept you understand now, but took you forever to grasp?

Collapse
 
aspittel profile image
Ali Spittel

Pointers. I'm totally 100% unsure why now, I think they must have been explained really poorly, but I didn't get them at all at first.

Collapse
 
skrish2017 profile image
Shashi

This too. The course I taught went full on Java so the C++ type pointers were no longer used. But as long as C++ was around I struggled with getting the right resources to help students with it.

Collapse
 
cjbrooks12 profile image
Casey Brooks

In my college experience, I think pointers were just introduced too early in the curriculum. Students are barely able to grasp the fundamentals of control flow and scope, are just starting to learn about types, and are then thrown in the deep end with pointers. Until you really understand types and good variable scoping, pointers will make no sense.

Collapse
 
kungtotte profile image
Thomas Landin

In my opinion there are two main issues: C uses fucking awful syntax for pointers which is always a stumbling block when trying to learn something.

The second is that most explanations only tell you what pointers are, not what they're used/useful for.

Collapse
 
jonchampaigne profile image
Jon Champaigne

The, "used/useful for", bit being particularly key there.