• Lembot_0004
    link
    fedilink
    arrow-up
    34
    arrow-down
    1
    ·
    28 days ago

    Free() can destroy the world. Believe me. I know. I am a C programmer.

    • hddsx@lemmy.ca
      link
      fedilink
      arrow-up
      17
      ·
      28 days ago

      This is why I free nothing and only malloc().

      #WhoNeedsMemoryManagement

      #JustDownloadMoreRAM

      • Lembot_0004
        link
        fedilink
        arrow-up
        7
        ·
        28 days ago

        You’re sick with Java-Python Syndrome. The only cure is C++. But you’re too old to master C++ before you segfault. Muahahahahaha!

        • hddsx@lemmy.ca
          link
          fedilink
          arrow-up
          8
          ·
          28 days ago

          You know, my biggest gripe with python isnt abstracted memory management. My biggest grip is duck typing

          • Troy@lemmy.ca
            link
            fedilink
            arrow-up
            9
            ·
            28 days ago

            Duck typing is my favourite. Pry it from my cold dead (object that appears to be hands, and probably is, but maybe isn’t).

          • Lembot_0004
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            28 days ago

            duck typing

            Script languages are very nice for writing pre-100-lines long listings. Where you can keep all types in your head. Consider Python uber-bash. Unsuitable for anything else, though.