Albin Jose to Programming@programming.dev • 9 months agoWhich programming language is hard to understand?message-square62fedilinkarrow-up121arrow-down16
arrow-up115arrow-down1message-squareWhich programming language is hard to understand?Albin Jose to Programming@programming.dev • 9 months agomessage-square62fedilink
minus-squareJackbyDevlinkfedilinkEnglish1•9 months agoReading anything to do with pointers in C is confusing to me. Sorry to disappoint you.
minus-square@miversen33@lemmy.worldlinkfedilink0•9 months agoA pointer is nothing but an integer that “points to” a memory location. They can feel intimidating because it’s really easy to footgun with them, but they are not as complicated as they appear :)
minus-squareJackbyDevlinkfedilinkEnglish2•9 months ago The pointer syntax being slightly different than the pointer declaration syntax always confuses me to no end. I conceptually under pointers perfectly but their syntax is wack.
Reading anything to do with pointers in C is confusing to me. Sorry to disappoint you.
A pointer is nothing but an integer that “points to” a memory location.
They can feel intimidating because it’s really easy to footgun with them, but they are not as complicated as they appear :)