DreamBerd is a perfect programming language
1–10 of 215 posts
Re: DreamBerd is a perfect programming language
#2This 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.
Re: DreamBerd is a perfect programming language
#3Love the constants. Biggest confusion for me reading modern javascript, coming from traditional languages. "What do you mean you can change a constant?"
Re: DreamBerd is a perfect programming language
#4Love the constants. Biggest confusion for me reading modern javascript, coming from traditional languages. "What do you mean you can change a constant?"
You can't reassign constants in JS, it throws an error: Uncaught TypeError: Assignment to constant variable.
But yes you can modify objects and arrays of a constant, which is not great.
Re: DreamBerd is a perfect programming language
#5This 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 edge. Or maybe it was the regex describing valid regex labels
Re: DreamBerd is a perfect programming language
#6Regexression
Re: DreamBerd is a perfect programming language
#7Delete
To avoid confusion, the delete statement only works with primitive values like numbers, strings, and booleans.
delete 3!
print(2 + 1)! // Error: 3 has been deleted
HAHAHAHAHA
Re: DreamBerd is a perfect programming language
#8Make sure to look at the example programs if you missed the link in the doc
Re: DreamBerd is a perfect programming language
#9Is this to blame complexity of Rust ?
Re: DreamBerd is a perfect programming language
#10Delete To avoid confusion, the delete statement only works with primitive values like numbers, strings, and booleans. delete 3! print(2 + 1)! // Error: 3 has been deleted HAHAHAHAHA
DreamBerd is a multi-paradigm programming language, which means that you can delete the keywords and paradigms you don't like.
delete class!
class Player {} // Error: class was deleted
When perfection is achieved and there is nothing left to delete, you can do this: delete delete!