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
DreamBerd is a perfect programming language
101–110 of 215 posts
Re: DreamBerd is a perfect programming language
#102It'd be neat if you could also hoist a var up into the set of extant running runtimes.
Oh, someone on earth already computed a table of rsqrt values. Let me try just try using that one...
Re: DreamBerd is a perfect programming language
#103That's what a former colleague, who shall remain unnamed, suggested as well.
Re: DreamBerd is a perfect programming language
#104This 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
#105var var meanings = [42]!
print(meanings[-1])! //42
[++! //temporarily change to 0-based indexing
print(meanings[0])! //42
print(meanings[-1--])! //42 (because of the --] pre-decrement)
Re: DreamBerd is a perfect programming language
#106Re: DreamBerd is a perfect programming language
#107I feel that the array starting index should be adjustable at runtime via increment/decrement overloading for either the [ or ] character. var var meanings = [42]! print(meanings[-1])! //42 [++! //temporarily change to 0-based indexing print(meanings[0])! //42 print(meanings[-1--])! //42 (because of the --] pre-decrement)
Re: DreamBerd is a perfect programming language
#108> Variable hoisting can be achieved with this neat trick. Specify a negative lifetime to make a variable exist before its creation, and disappear after its creation. It'd be neat if you could also hoist a var up into the set of extant running runtimes. Oh, someone on earth already computed a table of rsqrt values. Let me try just try using that one...
Re: DreamBerd is a perfect programming language
#109> Booleans can be true, false or maybe. > Technical info: Booleans are stored as one-and-a-half bits. Technically, ternary values would be ~1.5849 bits.
Perfection.
Re: DreamBerd is a perfect programming language
#110"unless" operator is missing to make it complete complete, maybe with double unless if unless unless