You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we provide complete examples in our docs, many of our snippets are just connecting various chunks of code. This leads to a lot of repeated code that needs to be updated any time we make a change and burns a lot of developer time.
Instead of the current approach, we could build examples with a visual programming/block language tool. The blocks would be saved as JSON (or some other serialization format) and then we could "evaluate" them to produce valid JavaScript.
Since we provide complete examples in our docs, many of our snippets are just connecting various chunks of code. This leads to a lot of repeated code that needs to be updated any time we make a change and burns a lot of developer time.
Instead of the current approach, we could build examples with a visual programming/block language tool. The blocks would be saved as JSON (or some other serialization format) and then we could "evaluate" them to produce valid JavaScript.
I've briefly looked at Google's Blockly. It is open source, Apache-2.0 licensed at https://github.com/google/blockly. It seems like it can operate on serializable blocks and evaluate to JavaScript while also supporting other languages and custom generators.
The text was updated successfully, but these errors were encountered: