• Danitos@reddthat.com
      link
      fedilink
      English
      arrow-up
      33
      ·
      edit-2
      9 days ago

      Don’t you fucking dare speak badly of my beloved Brainfuck

      In fact, take this fully functional Fibonacci sequence generator I did some time ago, so you can repent from your blasphemy by looking at its beauty.

      ;>;>;<<[->>[->+>+<<]>>[<<+>>-]<<<[>>+<<-]>[<+>-]>[<+>-]<:<<]
      
    • yetAnotherUser@lemmy.ca
      link
      fedilink
      English
      arrow-up
      10
      ·
      9 days ago

      That isn’t a bad language. It’s pretty simple and it serves a cool purpose, which is to convey the power of a Turing machine. Now this is a bad programming language.

      • [object Object]
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 days ago

        Malbolge is great for replying to anyone who claims that since programming languages are Turing-complete, any one of them is fit for the job.

        • lad@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 days ago

          You can transpile from C to Malbolge and then run it (this will probably take forever for most of C programs). I thought it can be used for obfuscation, and sure enough Wiki already states that:

          Hisashi Iizawa et al. also proposed a guide for programming in Malbolge for the purpose of obfuscation for software protection