this post was submitted on 19 Jan 2024
227 points (96.7% liked)

Programming

17351 readers
339 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

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

top 12 comments
sorted by: hot top controversial new old
[–] Mad_Punda@feddit.de 70 points 9 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 38 points 9 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 36 points 9 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 18 points 9 months ago (2 children)

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 49 points 9 months ago* (last edited 9 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.

[–] kbotc@lemmy.world 4 points 9 months ago (1 children)

Ah, the nightmares of writing F5 iRules.

[–] litchralee@sh.itjust.works 3 points 9 months ago

TIL F5 iRules. I suppose I'm glad my career didn't into NetOps.

[–] Zuberi@lemmy.dbzer0.com 12 points 9 months ago

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

[–] ninjakttty@lemmy.world 12 points 9 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.

[–] Lodra@programming.dev 7 points 9 months ago

The Primeagen has a great reaction to dreamberd. Enjoy!

https://m.youtube.com/watch?v=tDexugp8EmM

[–] coffee_whatever@lemmy.tf 3 points 9 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 0 points 9 months ago

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