2 ms·
Manipulating pointers as numbers. And addressing arrays out of bounds.
by pdimitar 5y ago
Manipulating pointers as numbers. And addressing arrays out of bounds.
- phendrenad2 5y agoManipulating pointers as numbers (using the ++ operator for instance) is actually really simple, but most people do a bad job of explaining it.
- pdimitar 5y agoYou are severely missing the point. Of course it's simple. Many things are simple on their face. Until one rainy day you're slightly distracted and make a mistake. Be honest with yourself: you NEVER made a mistake that made you facepalm sometime in the future? Not once inn your life? People just refuse to believe they can make mistakes. That's why those discussions are impossible to win; they are about personal maturity and not about programming prowess. On one side you have the people confidently saying their famous last words: "it's simple, you all dumb or something?" and on the other you have those that are like "I know I can screw up even if I'm the best ever so let me use a language that will catch part of my mistakes". But yeah, the latter group can never convince the former. You all just repeat the same things every time and always miss the forest for a single tree. Very frustrating.