Is it ok to skip references?

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.
The devil is in the details, and she bites hard if you don't pay attention to her.
> 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.

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.
You need to learn when and why you use them so I wouldn't skip it.
Ideally, the chapter about references should have come before the chapter about pointers.
Topic archived. No new replies allowed.