Pointers I knew it... but no, actually I didn't notice

It is funny, at the beginning of the video I was thinking that pointers were a bad practice because I was just considering the bad aspects of it.

When I used to think about pointers as all the additional effort that it takes to be aware that a variable actually is not but a pointer to the real content to use pointers always seemed as a bad idea. I think of them in the worst escenario, to write and update data. Now when I start taking a closer look to the class viewer I realized that it uses pointers to point to static data, and boom what a magic touch, you don’t write that static data in any object definition but just once and then point to it from everywhere.

:slight_smile: sometimes we just need to take a different angle.

Thanks again @ben hehehe

You’re very welcome!

Privacy & Terms