Albin Jose@suppo.fideleted by creator to Programming · 3 年前Which programming language is hard to understand?message-squaremessage-square119linkfedilinkarrow-up174arrow-down113
arrow-up161arrow-down1message-squareWhich programming language is hard to understand?Albin Jose@suppo.fideleted by creator to Programming · 3 年前message-square119linkfedilink
minus-squaremiversen33@lemmy.worldlinkfedilinkarrow-up1arrow-down1·3 年前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 :)
minus-squareJackbyDevlinkfedilinkEnglisharrow-up3·3 年前 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.
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 :)