Pointers are dangerous – twm’s blog
Posted by jpluimers on 2020/11/04
TL;DR
- Do not keep pointers to objects in memory that can be relocated.
SetLength
can relocate the memory
[WayBack] Pointers are dangerous – twm’s blog
Via: [WayBack] Pointers can be really helpful, especially they can improve performance and readability, but they are also dangerous. I spent nearly a day tracking down… – Thomas Mueller (dummzeuch) – Google+
–jeroen
Leave a comment