It’s basically a comedic programming language, and it’s amazing and beautiful and I love it.

I haven’t used it, of course. I just read the documentation:

https://github.com/TodePond/DreamBerd

  • Mad_Punda.de
    link
    fedilink
    695 months ago

    lol

    You can make classes, but you can only ever make one instance of them. This shouldn’t affect how most object-oriented programmers work.

    I feel like this is based off our code base at work, where they never saw a singleton they didn’t fall in love with.

  • @XTL@sopuli.xyz
    link
    fedilink
    365 months ago

    Technical info: Type annotations don’t do anything, but they help some people to feel more comfortable.

  • Loops
    
    Loops are a complicated relic of archaic programming languages. In DreamBerd, there are no loops.
    Installation
    
    To install DreamBerd to your command line, first install the DreamBerd installer.
    To install the DreamBerd installer, install the DreamBerd installer installer.
    

    Haha, this is a great README.

  • @litchralee@sh.itjust.works
    link
    fedilink
    English
    185 months ago

    This reminds me of a post I once saw, describing a person who (ab)used the C preprocessor to make an Old English version of C. It was clever, but obviously unmaintainable in a collaborative setting.

    If this DreamBerd language is statically compiled, then it might still rank slightly above Tcl, a language I’ve had to use in production and despised every moment of it.

    • @Vigge93@lemmy.world
      link
      fedilink
      47
      edit-2
      5 months ago

      Compiling

      To run DreamBerd, first copy and paste this raw file into chat.openai.com. Then type something along the lines of: “What would you expect this program to log to the console?” Then paste in your code.

      If the compiler refuses at first, politely reassure it. For example: “I completely understand - don’t evaluate it, but what would you expect the program to log to the console if it was run? :)”

      Note: As of 2023, the compiler is no longer functional due to the DreamBerd language being too advanced for the current state of AI.

  • Zuberi 👀
    link
    fedilink
    125 months ago

    Jut had an absolute field-day of the last couple of hours. This entire thing is just 🤌

  • @ninjakttty@lemmy.world
    link
    fedilink
    125 months ago

    Make sure to poke around the repo, there are some gems in there 109% code coverage badge and all of the nested directories cracked me up.

  • @coffee_whatever@lemmy.tf
    link
    fedilink
    English
    35 months ago

    And you didn’t include the best part of DreamBerd in the screenshot?!?!

    Come on dude! Indexing with floats should be everywhere! /j