2 ms·
Pointers can break easily. It's entirely possible to add or subtract from a pointer, which drops you in a different memory area. This isn't possible with anonym
by lucumo 17y ago
Pointers can break easily. It's entirely possible to add or subtract from a pointer, which drops you in a different memory area. This isn't possible with anonymous functions, making them more safe.
It's the same with references vs. pointers. You can't do any calculations with references, but you can with pointers.