Live data from Hacker News

DreamBerd is a perfect programming language

github.com

21–30 of 215 posts

Re: DreamBerd is a perfect programming language

#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_something()
    i = i  - 1
  }

Re: DreamBerd is a perfect programming language

#24
post #16
post #9

Is this to blame complexity of Rust ?

Feels like more of a JS parody to me. Perhaps parodies like this are an effective way to reveal our biases. #deepthoughts

Creator here - it's actually a parody of INTERCAL. I explained more on the Future of Code podcast recently: https://futureofcoding.org/episodes/064

Re: DreamBerd is a perfect programming language

#25
post #16

Earlier quoted context omitted.

Feels like more of a JS parody to me. Perhaps parodies like this are an effective way to reveal our biases. #deepthoughts

Creator here - it's actually a parody of INTERCAL. I explained more on the Future of Code podcast recently: https://futureofcoding.org/episodes/064

What is INTERCAL ? When will you release first version of the compiler ?

Re: DreamBerd is a perfect programming language

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

Yeah honestly I was really interested in that. Kind of like a logic language?

Maybe Prolog is the perfect language.

Re: DreamBerd is a perfect programming language

#27

Earlier quoted context omitted.

Creator here - it's actually a parody of INTERCAL. I explained more on the Future of Code podcast recently: https://futureofcoding.org/episodes/064

What is INTERCAL ? When will you release first version of the compiler ?

INTERCAL is basically a sequel to DreamBerd. I highly recommend listening to that podcast episode! It's very enlightening

Re: DreamBerd is a perfect programming language

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

I like this feature, but to really make it pop I would like it to be combined with comefrom control flow.
Post reply on HN