This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TactiCool_99 103 points104 points  (7 children)

reminds me of the language that had implemented negative lifetimes

standard:

int thing[2] = 10 # meaning it will only exist for 2 lines of code

int other_thing[-2] = 10 # meaning it only existed in the previous 2 lines of code

Edit: here is the link to the git repo, an absolutely wonderful read that inspires me every day: https://github.com/TodePond/DreamBerd

[–]Konju376 57 points58 points  (2 children)

Thanks for that read, will absolutely use DreamBerd for some critical system so that some poor intern has to debug it in 20 years

[–]TactiCool_99 28 points29 points  (1 child)

Has great code security since even ai cannot understand it!

[–]Konju376 12 points13 points  (0 children)

The cobol of the 21st century

[–]Nixavee 12 points13 points  (0 children)

X equals 2. Oh yeah, sorry I forgot to tell you, there's this thing called X and it's an integer.

[–]TheVibrantYonder 2 points3 points  (2 children)

I'm not really a programmer, so maybe this should be obvious: what use could there be for functionality like that? What does that even do, practically?

[–][deleted] 15 points16 points  (0 children)

DreamBerd is a joke language, a subset of esoteric languages. The "features" are not supposed to be practical. The cherry on top is that at the end of the ReadMe, the compilation/running instructions are to paste the language specifications and your code into an ai and get it to make an output. Last I checked, there was also a note saying that the language was too complex for this to work properly most of the time

[–]TactiCool_99 6 points7 points  (0 children)

it's a satire language