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@feddit.de
    link
    fedilink
    arrow-up
    69
    ·
    10 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
    arrow-up
    36
    ·
    10 months ago

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

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    arrow-up
    35
    ·
    10 months ago
    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
    arrow-up
    18
    ·
    10 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
      arrow-up
      48
      ·
      edit-2
      10 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.

  • ninjakttty@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    10 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
    arrow-up
    3
    ·
    10 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

  • WalrusByte@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    10 months ago

    I wonder if it’s named after the YouTubers Dream and Berd. Interesting choice if so, haha!