3 ms·
Nothing against python, but pyscript is terrible idea to go in the browser? Why? Because you can't remove the spaces, you can't compress your source code so tha
by malkia 17y ago
Nothing against python, but pyscript is terrible idea to go in the browser? Why? Because you can't remove the spaces, you can't compress your source code so that it uses less bandwidth.
Also really, honestly, I hate to post python script somewhere in forum, and because of the identation someone else cannot test it.
Hey there is clojurehub@appspot.com - right - you type something in google.wav - send it to the address above, and the clojure appspot program gives you back the result - nice REPL :)
Now how would that work with python, or this pyscript? Just thing about it?
- sshumaker 17y agoI would imagine you pre-process the pyscript before sending it to the browser as part of your deploy step. So you don't have the compression issues.
- harto 17y agoActually, it looks like a separate script translates all script blocks with type="text/pyscript"
- Semiapies 17y agoYou can't minify, but you can still gzip.