Live data from Hacker News

DreamBerd is a perfect programming language

github.com

71–80 of 215 posts

Re: DreamBerd is a perfect programming language

#71

Hello! Creator here. This is an open-source project so please do submit any issues or PRs. Please note: I will close any issues without unreproducible steps.

Double negatives hurts my brain.

The latter could be phrased like this: "Please note: I will close any issues with reproducible steps."

Re: DreamBerd is a perfect programming language

#74
post #2

This is great. Usually with the joke programming languages, you can get at least one person arguing that "x feature" really isn't all that bad, or could maybe be useful. DreamBerd beats them all in that regard. It is 100% terrible! I lost it at the lifetimes implementation.

Also lost it at the timed lifetimes :)

Infinite lifetime is actually useful here and there. I'll usually slap an infinite lifetime wrapper around the `requests` or `httpx` module when I'm testing out some Python web scraping code.

Re: DreamBerd is a perfect programming language

#77
post #21
post #2

This is great. Usually with the joke programming languages, you can get at least one person arguing that "x feature" really isn't all that bad, or could maybe be useful. DreamBerd beats them all in that regard. It is 100% terrible! I lost it at the lifetimes implementation.

This feature is not so bad: > In case you really need to vary a variable, the when keyword lets you check a variable each time it mutates. const var health = 10! when (health = 0) { print("You lose")! } If it can really be triggered when the variable changes to any value it makes it a truly reactive paradigm programming language. By the way, could that be hacked to implement loops? const var i = 10 when (i >= 0) { do…

Doesn't Tcl's "trace" feature do this?

Re: DreamBerd is a perfect programming language

#79
post #63

Earlier quoted context omitted.

But arrays start at -1. How would that work?

You can insert items before the start

So it’s not invariably true that arrays start at -1? They only start at -1 after an array literal assignment? You need to update the language description! ;)

Re: DreamBerd is a perfect programming language

#80
post #56
post #2

This is great. Usually with the joke programming languages, you can get at least one person arguing that "x feature" really isn't all that bad, or could maybe be useful. DreamBerd beats them all in that regard. It is 100% terrible! I lost it at the lifetimes implementation.

I honestly liked the whitespace significant operator precedence.

Nim used to have that, but unfortunately removed it because it was too controversial.
Post reply on HN