[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rather, DSSLs increase modularity, productivity



mvanier@cs.caltech.edu wrote:

>The universe of the scripting language and the universe of the
>non-scripting language.  In Dylan, the difference is blurry to
>non-existent.  "Script" code is just regular code without type annotations,
>whereas "non-script" code has those annotations.
>
>  
>
[...]

>
>If I look at all the python scripts I've written, nearly ALL of them could
>have been written in a statically-typed language.  Python is extremely
>dynamic, but I've rarely needed to use that power.  But that's just my
>experience.
>

I'm not a Python expert, just a casual user.  But I don't see why 
someone couldn't add (optional) type declarations to Python, with 
Dylan-ish semantics.  Then you could do Dylan-style compilation and get 
better performance for your Python.

Bob