3 ms·
That would be great as one of the things that puts me off of front end development is lack of language choice. I adore Python as a language and it would certain
by strange_quark 11y ago
That would be great as one of the things that puts me off of front end development is lack of language choice. I adore Python as a language and it would certainly make a great choice for a front end language if supported. Maybe if this project takes off, browser vendors would ship a Python interpreter alongside the JS one. I'd bet that Apple, Google, Mozilla, etc. could make Python fast if they threw as much money at it as they do their JS interpreters. And PyPy is already pretty fast -- it's certainly way faster than JS engines were before V8 and JavaScriptCore hit the market.
This will probably never happen, but I can dream.
- sgibat 11y agohave you looked into CoffeeScript? it's slightly more pythonic than JavaScript.
- globuous 11y agoThere's raypidscript also: http://www.rapydscript.com/ http://www.rapydscript.com/ which is a python like JS precompiler (https://news.ycombinator.com/item?id=9385596 https://news.ycombinator.com/item?id=9385596) I haven't had the time to try it yet, but maybe it'll suit your needs ;)
- rplnt 11y agoRight of the bat their example puts me off. I mean.. come on. self.$popup = $('#' + containerId).addClass('pop-up').mouseout(def(): self.hide() )