Albin7326@suppo.fi to Programming@programming.dev · 1 year agoWhich programming language is hard to understand?message-squaremessage-square124fedilinkarrow-up173arrow-down112
arrow-up161arrow-down1message-squareWhich programming language is hard to understand?Albin7326@suppo.fi to Programming@programming.dev · 1 year agomessage-square124fedilink
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up1·1 year agoReading anything to do with pointers in C is confusing to me. Sorry to disappoint you.
minus-squaremiversen33@lemmy.worldlinkfedilinkarrow-up1arrow-down1·1 year 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-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up2·1 year 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 :)