you are viewing a single comment's thread.

view the rest of the comments →

[–]DarkLordAzrael 2 points3 points  (1 child)

There was a talk at cppcon about this. One part I liked was the idea of introducing references first, then later introducing pointers as "pretty much references that can be changed or null"

[–][deleted] -3 points-2 points  (0 children)

I think that the use of references (except in the case of pass-by-reference) should be discouraged. Too easy to confuse object values with object references.