Live data from Hacker News

DreamBerd is a perfect programming language

github.com

81–90 of 215 posts

Re: DreamBerd is a perfect programming language

#81
post #40

The best gem in all of it is this: > You can make classes, but you can only ever make one instance of them. This shouldn't affect how most object-oriented programmers work. This describes my experience with most OOP code very well.

I love Singletons and God Classes. ;)

Re: DreamBerd is a perfect programming language

#82

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."

That's not right. Your issue can have reproducible steps. But it must contain unreproducible steps.

For more info, please read my blog post "Why unreproductions are required".

Re: DreamBerd is a perfect programming language

#84
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 think there's a hint of a good idea in the type that checks strings with a regex. Obviously it's comically impractical written that way.

Re: DreamBerd is a perfect programming language

#85
post #14
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 don't know, variable decelerations seem to me to be funny but useful. I mean constant constants, constant variables, and variable variables seem useful. I'm not sure how would variable constants be useful. Also, anybody knows the difference between constant constant and immutable data (constant contact constant)?

It's a rather straightforward dig at C\C++ which work exactly like this with `const` variables.

Re: DreamBerd is a perfect programming language

#86
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

Which is a parody of INTERCAL? Rust or DreamBerd?

Re: DreamBerd is a perfect programming language

#87

Earlier quoted context omitted.

Breathlessly approving tone of a language readme: Readmes on Github, especially for languages, often have a recognizable tone. Look how cool this is! Isn't this so neat!? Why would you ever do it differently!? Comedic timing (in text): Most prose is written under the assumption that it will be read in order- ie, from beginning to end. For instance, you likely read the word "beginning" before you read the word "end" i…

[flagged]

If you are constantly exclaiming, you are likely to become breathless. Exclaimations are signified with an Exclaimation mark. Pauses and other timing can be signified with commas, dashes and ellipses.

Re: DreamBerd is a perfect programming language

#88
post #79

Earlier quoted context omitted.

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! ;)

Perhaps they start at -1 and proceed in both directions

Re: DreamBerd is a perfect programming language

#89
post #13

const var scores = [3, 2, 5]! scores[0.5] = 4 print(scores) //[3, 2, 4, 5]! Genius! This trivially solves the problem of reading integer and floating point numbers from input and inserting them into a sorted array. Too bad there are no loops in this language. (Remember that arrays start from -1.)

Loops are a code smell.
Post reply on HN