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
That was a fun listen, thanks!
DreamBerd is a perfect programming language
111–120 of 215 posts
Re: DreamBerd is a perfect programming language
#112Earlier 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! ;)
const var scores = [3, 2, 5]!
scores[0.5] = 4
print(scores) //[3, 2, 4, 5]!
scores[-2] = 10
print(scores) //[10, 3, 2, 4, 5]
print(scores[-1]) // 10
is how I interpret the spec, but I did not run this through the reference compiler yet.Re: DreamBerd is a perfect programming language
#113In particular this:
Technical info: Type annotations don't do anything, but they help some people to feel more comfortable.
Because it's kinda almost sometimes true... or should I say: "maybe"!Re: DreamBerd is a perfect programming language
#114Hello! 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
#115Hello! 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.
I think you should support the following API
Start(x,y)
LineTo(x,y)
Circle(x,y,A) // A is area
Triangle(ax,by,ay,cx,cy,ay,bx) //Most Intuitive coordinate order
RestOfEffingOwl()Re: DreamBerd is a perfect programming language
#116Earlier quoted context omitted.
> Please note: I will close any issues without unreproducible steps. Surely you meant "without reproducible steps"?
Surely you didn't comment before viewing the post.
Re: DreamBerd is a perfect programming language
#117The 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
#118This 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…
Re: DreamBerd is a perfect programming language
#119> All indents must be 3 spaces long. That's what a former colleague, who shall remain unnamed, suggested as well.