1
eideon
3y

The thing I love about Python is that it has no fricking pointers!!!
I hate pointers and getting a language that doesn't use them
win-win for me!

Comments
  • 7
    Welcome to the GIL then.
  • 5
    You're weak! Choosing a wimp language over pointers
  • 2
    You'll love ruby then.
  • 5
    You WILL use pointers if you ever choose to write a module.

    Pointers are not really that hard. Its an address. That is all.
  • 5
    Python uses pointers all the time. Every variable is a pointer.
  • 1
    Every python variable that's not plain old data is a reference, so internally it's a pointer with some GC and runtime metadata. What it doesn't have is explicit raw pointers.
  • 1
    Pointers are just variables with addresses as their value.

    You can use "pointers" with CPython. You can use the id() method with modules like ctypes.string_at(). But if you ever actually do it your coworkers will kill you.
  • 3
    I don't understand why people dislike "pointers". You can dislike manual memory management, or the notion of references (although that's pretty hard to avoid) or some other aspect, but pointers are present in every mainstream programming language, just under a different name and more automated.
    Unless you hate the word for some reason.
  • 0
    I know its not like python doesn't have pointers but the fact that you don't have to worry about that makes me feel good
  • 1
    @homo-lorens I don't dislike them its just so confusing to me
    I would just try by adding or removing the *
  • 0
    @eideon Don't you have compiler errors that show both types for that?
Add Comment