Is it ok to skip references?

Jun 8, 2013 at 6:42pm
Done with pointers and this chapter called "references" is like pointers, so if this is only the same as pointers, then I could skip it but if references has a features that pointers can't then I will learn it now. I can find the answers if I finish reading it but it's boring if you're thinking its the same as what you've recently learned.
Jun 8, 2013 at 6:50pm
The devil is in the details, and she bites hard if you don't pay attention to her.
Jun 8, 2013 at 6:57pm
> Is it ok to skip references?

No. References are not pointers; they are different.


> it's boring if you're thinking its the same as what you've recently learned.

It is not the same thing; you wouldn't have understood references till you realize that references are not the same as pointers.

Jun 8, 2013 at 7:06pm
References are of particular importance when working with classes. In general references enable you to use the pass-by-reference mechanism with functions. Rvalue references are also indispensable with operator overloading.
Jun 8, 2013 at 9:17pm
You need to learn when and why you use them so I wouldn't skip it.
Jun 8, 2013 at 9:33pm
Ideally, the chapter about references should have come before the chapter about pointers.
Topic archived. No new replies allowed.