5 ms·
I could never understand why "pointers are complicated" or "hard"? They just point at things. Sure there are some semantic quirks if you want to go there, to i
by varispeed 2y ago
I could never understand why "pointers are complicated" or "hard"?
They just point at things. Sure there are some semantic quirks if you want to go there, to idk obfuscate the code or to make things more complex than they really are.
I just don't get it.
Been programming in C for decades now and never had any issues with this.
- nynx 2y agoDepending on what kind of software you tend to work on, you may have written a lot of subtly incorrect C.
- varispeed 2y agoYes, I've done fair share of these, but I don't see them as different from any other incorrect code I may write. I agree that sometimes it may be more challenging to debug, as it may not be immediately obvious that e.g. I am writing memory I am not supposed to.