3 ms·
I'm not sure I understand you. Dereferencing things that aren't pointers leads to unexpected results in C. Should we avoid dereferencing any variable in C? I
by Zarel 14y ago
I'm not sure I understand you.
Dereferencing things that aren't pointers leads to unexpected results in C. Should we avoid dereferencing any variable in C?
I think of `this` in the same way - it behaves normally if you use it the way it's intended to be used. In other words, don't try to read `this` in a callback without binding it first, and you'll be fine.
Or are there other pitfalls I'm unaware of?