How many of you know about https://godbolt.org/ ?
It’s a great site I use a lot to see what different compilers do to the code I write. It’s quite informative.
And, perhaps you didn’t know we have a similar tool, for Defold, called codepad: https://defold.com/codepad/
With it, you can choose a collection, write some test code, and then see the result.
The source is available on github, and we’d very much like to see this way of writing quick examples grow even further:
To post an example, you put it in an iframe:
<iframe width="100%" height="800" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="CODEPAD_URL"></iframe>
CODEPAD_URL is the one you get from pressing “Share” in the code pad.
And here’s what it looks like.