15
Jnasty
4y

Screw you pointers...

Comments
  • 11
    Screw you *pointers

    Just in case you want to screw the actual value
  • 3
    I wish Java supported pointers
  • 0
    Haven't really messed around with C or C++. What's the deal with pointers?
  • 1
    Scanning through the rants, I read that as "screw you ponies"...
  • 3
    Great power comes with great responsibility.
  • 5
    @calmyourtities It does. That's why you see all those NullPointerExceptions
  • 3
    @t4ils Tl;dr pointers are memory addresses letting you interact directly with the computer's memory. They can also be a bitch sometimes
  • 1
    A pointer is a link to another value, in other words, it stores the location of a variable, and you can use it to access that variable.
    Which I find very very dumb, because why the fuck shouldn't you just use the original variable‚Äč? Why should we use something that acts as the original?!?!
  • 2
    @Tytanium because it's much more than just a link. It is literally a physical place in memory which opens up a suite of interesting things you can do, from memory crawlers to ultra generic libraries. Plus it lets you directly access the memory location of a function, meaning you can store it in a database and use the function later (useful in generic libraries)
  • 1
    @AngryDev I guess I need to do more research on pointers ;P
Add Comment