Live data from Hacker News

DreamBerd is a perfect programming language

github.com

31–40 of 215 posts

Re: DreamBerd is a perfect programming language

#31
post #8

Make sure to look at the example programs if you missed the link in the doc https://github.com/TodePond/DreamBerd/blob/main/LICENSE.md

I sort of spoiled the joke for myself because the first thing I noticed was that it didn't have a standard license (github says view license instead of Apache or whatever). So I clicked on it before even reading what the language was about, still thinking it was serious.

Re: DreamBerd is a perfect programming language

#32

This is incredibly good. It maintains the breathlessly approving tone of a language readme the entire time, it has incredible comedic timing (a lesser shitpost would have revealed that of course the file extension was .db right at the start), and it has incredible internal consistency. For some reason it was the fact that it demonstrates how "files" work by rebinding a const const that sent me completely over the edg…

Hey thanks, I'm glad you like it! :)

Re: DreamBerd is a perfect programming language

#33

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.

> Please note: I will close any issues without unreproducible steps.

Surely you meant "without reproducible steps"?

Re: DreamBerd is a perfect programming language

#34
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 really like the "when" keyword, actually.

Re: DreamBerd is a perfect programming language

#35
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…

Yes, when is the way to do loops in this language. From the hidden examples page

  functi fibonacci (n) => {
     const var sum = 1!
     const var i = 0!
     when (i 

Re: DreamBerd is a perfect programming language

#36

This is incredibly good. It maintains the breathlessly approving tone of a language readme the entire time, it has incredible comedic timing (a lesser shitpost would have revealed that of course the file extension was .db right at the start), and it has incredible internal consistency. For some reason it was the fact that it demonstrates how "files" work by rebinding a const const that sent me completely over the edg…

Hey thanks, I'm glad you like it! :)

Also a big fan of SandPond :)

Re: DreamBerd is a perfect programming language

#37

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.

> Please note: I will close any issues without unreproducible steps. Surely you meant "without reproducible steps"?

No I mean without unreproducible steps.

Re: DreamBerd is a perfect programming language

#38
post #35
post #21

Earlier quoted context omitted.

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…

Yes, when is the way to do loops in this language. From the hidden examples page functi fibonacci (n) => { const var sum = 1! const var i = 0! when (i

And if you don't want your code to loop back by accident you can just use lifetimes! Truly an elegant language

Re: DreamBerd is a perfect programming language

#39
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…

Looks a little like FRP.
Post reply on HN