3 ms·
I think a huge power in frame-based programming, that is super under-appreciated, is how you can make errors a lot more obvious by limiting input. Left side is
by rtpg 5y ago
I think a huge power in frame-based programming, that is super under-appreciated, is how you can make errors a lot more obvious by limiting input.
Left side is a number? Right side's gotta be one too!
You can also stop `if foo = bar` style errors as well.
Of course those errors show up anyways when you run a program, right? But being shown the error in context quickly, and having UI space to be able to add links to documentation and other details is a real boon to learning in my opinion.
And you can provide autocomplete that only provides "good" options. This can help with discoverability (though it's tough to get a "why is this not showing up" answer, granted).
Imagine if our shells actually worked like this! There's reason everyone installs all of the cool bash/zsh completions for all these tools.