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: https://github.com/defold/codepad
One good way to use this would be to infuse our documentation with small codepad links that explain the behavior of a function or a concept, interactively.
I use the codepad all the time when I need to find out how exactly something embarassingly simple works and don’t want to test it in the project I have open at the moment.
Where to start if I wanted to host my custom version? With the possibility also of sharing code URLs?
I don’t know nothing about web servers programming. I only know about getting shared hosting plans and installing Wordpress !
Do I need to do something special to make the “share” button work?
When people click share, the code need to be saved somewhere and a new URL is created. Is all this handled by the codepad app?