Live data from Hacker News

DreamBerd is a perfect programming language

github.com

181–190 of 215 posts

Re: DreamBerd is a perfect programming language

#181

>If you're unsure, that's ok. You can put a question mark at the end of a line instead. It prints debug info about that line to the console for you. Man, I love this idea. Imagine if in JavaScript, you could just add a `?` to a line to print out the value of all variables and expressions referenced. Or `?` on a line by itself to print out the value of all variables in scope. > DreamBerd has significant whitespace. Us…

Reminds me of the .Dump() extension in LinqPad, which I love

https://www.linqpad.net/CustomizingDump.aspx

Re: DreamBerd is a perfect programming language

#184

Earlier quoted context omitted.

Sturgeon's Law: "90 of everything is crap". It's no surprise that when you make virtually all mainstream programming languages OOP, then there will be a vast amount of bad OOP code out there (as by definition mainstream code then becomes "OOP code").

I like how you forget the % after 90. DreamBerd probably allows this.

Why waste time type lot char, when few char do trick

Re: DreamBerd is a perfect programming language

#185
post #117

Earlier quoted context omitted.

Factories and Managers. Don't forget Decorators!

https://factoryfactoryfactory.net

First time reading this. Thanks for the laugh. Trigger warning for those who have worked on legacy Java/C# code.

Re: DreamBerd is a perfect programming language

#186
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.

Sturgeon's Law: "90 of everything is crap". It's no surprise that when you make virtually all mainstream programming languages OOP, then there will be a vast amount of bad OOP code out there (as by definition mainstream code then becomes "OOP code").

Ouch, that is a harsh view. Black & white thinking leads to depression in people with a disposition. Questioning these thoughts helps.

I'm more inclined to follow the bell curve. 10% crap, 40% mediocre but rather bad, 40% mediocre but rather good and 10% great.

Re: DreamBerd is a perfect programming language

#187

Earlier quoted context omitted.

Sturgeon's Law: "90 of everything is crap". It's no surprise that when you make virtually all mainstream programming languages OOP, then there will be a vast amount of bad OOP code out there (as by definition mainstream code then becomes "OOP code").

I like how you forget the % after 90. DreamBerd probably allows this.

IIRC, numbers without a percentage sign are assumed to be percentages. Numbers that are not percentages have to be followed by ;% (the semicolon is the NOT operator in DreamBerd).

Re: DreamBerd is a perfect programming language

#190
post #186

Earlier quoted context omitted.

Sturgeon's Law: "90 of everything is crap". It's no surprise that when you make virtually all mainstream programming languages OOP, then there will be a vast amount of bad OOP code out there (as by definition mainstream code then becomes "OOP code").

Ouch, that is a harsh view. Black & white thinking leads to depression in people with a disposition. Questioning these thoughts helps. I'm more inclined to follow the bell curve. 10% crap, 40% mediocre but rather bad, 40% mediocre but rather good and 10% great.

> Black & white thinking leads to depression in people with a disposition.

That sounds interesting. Who has researched/written about that?

Post reply on HN