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

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

      #WhoNeedsMemoryManagement

      #JustDownloadMoreRAM

      • Lembot_0004@discuss.online
        link
        fedilink
        arrow-up
        7
        ·
        4 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
          ·
          4 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
            ·
            4 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@discuss.online
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            4 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.