Hello everybody,
We’re very happy to announce you can now run code (including when there are runtime dependencies from the standard libraries) in the playground! Just remember to enable “Auto-run”.
Have fun!
Hello everybody,
We’re very happy to announce you can now run code (including when there are runtime dependencies from the standard libraries) in the playground! Just remember to enable “Auto-run”.
Have fun!
might need to add a cap on the log lines
first thing I did was set fizzbuzz to a really big number and it crashed my browser
Well there are tons of ways you can crash your browser by executing arbitrary code, with or without logging, I’m not sure we should spend too much time trying to mitigate those issues, but if you’re interested in a PR, don’t hesitate, I’ll take a look at it!
sure thing. I think I was just making a note that auto-run felt a bit unintuitive XD
What do you mean by “it felt unintuitive”?
not really used to having my code run as I type and I ended up crashing the browser window.
Used the word unintuitive because it’s a cool feature, just unexpected results
Oh I see, we could add a “Run” button as a way to run your code on demand without doing it on every key stroke. What do you think?
A run button would be great!
@YKW @yangdanny97 I added a run button (and a keyboard shortcut) in the playground, don’t hesitate to give some feedback
yes. love the keyboard support as well. Thanks