• jvisick@programming.dev
      link
      fedilink
      arrow-up
      10
      ·
      1 year ago

      I can’t imagine anyone but a total novice disagreeing with this.

      I can understand finding pointers hard at first, but I can absolutely not understand trying to argue that they aren’t useful.

      • Thomas Douwes@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        There were a lot of “pointer hard” memes back r/programmerhumor. Probably a lot of beginner’s over there.

        I guess I cheated by already having an understanding of how the computer works before starting C.

    • AdmiralShat@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Pointers are absolutely hard for beginners, and it is arguably hard to learn when and where to actually use them properly

      • What is so difficult to learn about pointers? I am not a programmer, i just used to dabble in C++ and a bit of C# and java for school and now python for uni. I found pointers in c++ much more straightforward, then memorizing when a function is doing call by value or call by reference. I still hate java for doing it half half and not letting you do it differently.

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      They’re easy when they work. If you screw up, you have to fold your brain in half to figure out what you’re trying to do, what you’ve actually done, and what to do instead.

      Nevermind the compiler throwing errors because the syntax is awful and it won’t tell you what it expects.

    • NightAuthor@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Learning pointers feels like one of those things, if you’re physically capable of learning it, then it just takes having it explained in a certain way, or seeing a certain implementation and then it just clicks.