News for hackers. Stuff that matters.
Re:Python Webkit DOM Bindings by shawndumas on Thursday October 07, 2010 @02:52PM (#1768978)
Python + Javascript = CoffeeScript[1]

-----

[1]: http://jashkenas.github.com/coffee-script/

Re:Python Webkit DOM Bindings by Raphael_Amiard on Thursday October 07, 2010 @03:06PM (#1769038)
I know coffeescript, and i use it for my main project, in parallel with Django. The project is particularly heavy on the client side.

I like having most of the conveniences of python, like list comprehensions, and it has a better syntax than javascript (i hate javascript syntax).

Also, coffeescript has some things that python hasn't, like a sane syntax for functions and lambdas, and some more (string interpolation is really neat when you're dealing with mostly text)

It does make things harder for debugging though, but i consider it a fair tradeoff.

Re:Python Webkit DOM Bindings by pjscott on Thursday October 07, 2010 @08:58PM (#1770171)
I like coffeescript, but it is definitely a very young language. When I installed it, I had to modify the emacs editing mode because the language syntax had changed recently.

I still use it, though, because it's just so much nicer than JavaScript in every other way.