4 ms·
DreamBerd 2: Sequel to the perfect programming language
- humbugtheman 3y ago> Each line ends in an exclamation mark. That's ridiculous, how are you supposed to do 'logical not'? Some very strange design choices are stopping me from even trying this programming language.
- speps 3y agoWhoosh or not? It's definitely a humoristic language given some other ones: > 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 Although the feature about prefixing a variable with "previous" to get its previous actually sounds quite useful! But also to answer your question, it uses a semi-colon for NOT: > You might be wondering what DreamBerd 2 uses for the 'not' operator, which is an exclamation mark in most other languages. That's simple - the 'not' operator is a semi-colon instead. I love this kind of project as it can make you rethink some basic things we're used to work with in other languages.
- humbugtheman 3y agoHey thanks! For context, I am the creator of DreamBerd
- speps 3y agoHaha good one, makes the whole thing even better!
- deleted 3y ago[deleted]
- steveruizok 3y agoIs there a migration guide?
- humbugtheman 3y agoNone needed, this is a drop-in replacement