the examples miss the perfectly cromulent 'unction'
DreamBerd is a perfect programming language
211–215 of 215 posts
Re: DreamBerd is a perfect programming language
#212Earlier quoted context omitted.
The 'previous' feature sounds like a great idea! The compiler could even decide which variables it needs to keep track of.
I think it would lead to a lot of hard to find logical bugs in a lot of projects but I think it would be a great operator in say, a scripting language for a turn based game.
Re: DreamBerd is a perfect programming language
#213Re: DreamBerd is a perfect programming language
#214The when feature looks genuinely useful. Shame on you! But in another language an event listening on variable change privative would be pretty cool. In JS you could then replace [x,setX] = useState(0); with x = 0;
Re: DreamBerd is a perfect programming language
#215>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…
> 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. Tomorrow is today: https://twitter.com/TodePond/status/1595464031728459776
In library form: https://todepond.gitbook.io/habitat/documentation/console