Jut had an absolute field-day of the last couple of hours. This entire thing is just ๐ค
Programming
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 [email protected]
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.
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.
Technical info: Type annotations don't do anything, but they help some people to feel more comfortable.
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.
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.
Ah, the nightmares of writing F5 iRules.
TIL F5 iRules. I suppose I'm glad my career didn't into NetOps.
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.
And you didn't include the best part of DreamBerd in the screenshot?!?!
Come on dude! Indexing with floats should be everywhere! /j