New to Python - block grouping (spaces)

Paul Rubin no.email at nospam.invalid
Sun Apr 19 16:36:10 EDT 2015


Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> You might be interested in the Coffeescript model....>
> You'll notice that Coffeescript isn't a mere preprocessor or source code
> transformation. 

I like Purescript (purescript.org) better than Coffeescript, but either
way, I don't see Python as an attractive target for that approach.
People code in Javascript because they have to (browser apps), so if
they hate the JS language but have to use it anyway, it's reasonable to
wrap a translation layer around it.  JS is basically used as a high
level assembly language.

By contrast, most people who use Python use it because they like it.
Sure there are warts here and there, but for the most part, if someone
doesn't like Python, they can pick something else that does the same
job.



More information about the Python-list mailing list