• bloopernova@programming.dev
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    1
    ·
    edit-2
    3 years ago

    Lisp. All is Lisp.

    Data’s entire consciousness was written as an Emacs package.

    Klingons program in Brainfuck. A Warrior’s Language!

    Vulcans exclusively use APL.

    The F in Ferengi stands for Fortran.

    Python is banned across the known galaxy. If your race is discovered using it, your planet is immediately bombarded until the entire crust is molten.

    Cardassians use Haskell because they’re evil.

    • Ensign_Crab@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      3 years ago

      The F in Ferengi stands for Fortran.

      If Ferengi were to use a language that old, you’d think it would be the COmmon Business-Oriented Language.

    • MajorHavoc@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      3 years ago

      Just to add - obviously all Ferengi programs run on a Blockchain, and are riddled with microtransactions.

    • MajorHavoc@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 years ago

      I’ll just add that Data was previously built as a Vi plugin, but it was evil, so Doctor Soong disassembled it and shut it down. A lot of trouble could have been saved it Dr Soong had learned how to actually exit Vi.

      • bloopernova@programming.dev
        link
        fedilink
        English
        arrow-up
        13
        ·
        3 years ago

        The reason has been purged, intentionally forgotten. Vulcans train their entire lives to take on a dangerous task: once every 66 years, the very best of the best view the reason why Python is banned. Once viewed, the Vulcan confirms that it is indeed a just and necessary action to ban the ancient language.

        After the task is complete, the Vulcan goes utterly, irretrievably insane and dies mere hours later.

        • cheery_coffee@lemmy.ca
          link
          fedilink
          English
          arrow-up
          6
          ·
          3 years ago

          It’s the GIL isn’t it?

          I think Vulcans wouldn’t develop any higher order languages, as programming in assembly with some solid logic is free from leaky abstractions.

          • MajorHavoc@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            3 years ago

            It’s clearly because someone had to work with the Python logging package. Or had to call subprocess.

            • cheery_coffee@lemmy.ca
              link
              fedilink
              English
              arrow-up
              3
              ·
              3 years ago

              Subprocess is great, just UTF8 encode your strings and never ever ever pass input or receive output from the sub process.

            • bloopernova@programming.dev
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 years ago

              Logging is fine, it’s traitlets that I’m struggling with right now. Lack of comprehensive documentation means I have to read the source and that is taking me forever.

              • MajorHavoc@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                3 years ago

                Interesting. Traitlets looks to Java-like (overly in love with objects) for my taste.

                For typing, I’ve been reasonably happy with MyPy.

                For everything else in Traitlets - well, that all sounds too OOP for my comfort.

                Ooh, that’s another reason to burn Python to the ground and never speak of it again - it supports multiple-inheritance.