Typed Python?
Jorge Godoy
godoy at ieee.org
Tue Jul 6 14:26:12 EDT 2004
On Ter 06 Jul 2004 15:03, Ville Vainio wrote:
> Seeing "(set! x 10)", many would probably think "yeah, it's a special
> form that binds 'x to 10, I get the idea, now got off my face, I have
> work to do". You only need to learn once what "x=10" does, after that
> it just happens; you don't need to spell it out to the machine.
>From what I've read I got that they were trying to show that there's no
ambiguity in using "(set! x 10)" but there is in "x=10": is it an
attribution or a comparison?
> Of course the scheme syntax also conveys that "mutating a variable is
> a bad idea, please reconsider". While someone might appreciate the
> constant nagging by the language targeted at your programming style,
> most programmers probably don't. For academics (possibly with no code
> to write in the first place), this is a minor issue.
What reminds me that LISP was used to write Yahoo! Store first...
--
Godoy. <godoy at ieee.org>
More information about the Python-list
mailing list