Source
- URL: https://x.com/TheBonkMaykr/status/1990800281248936078
- Author: bonk 🇺🇸🐍 (@TheBonkMaykr)
- Posted: 2025-11-18 15:12:28
Branch
1/ @TheBonkMaykr
It is confusing if you aren’t used to it, that is true. But if you care about portability, letting the C compiler decide what the size of a pointer is, and how to handle pointer arithmetic, is better long-term.
You could also use the [] array index operator instead, since arrays are technically pointers themselves they work under the same rules, so just think of pointers to raw data as heap arrays.