Wow! Python that looks a bit like Perl! Larry and Guido reconciled!! I love it!!! +1000 On Sat, Sep 19, 2009 at 12:46 PM, Imri Goldberg <lorgandon@gmail.com> wrote:
On Sat, Sep 19, 2009 at 11:19 AM, Dj Gilcrease <digitalxero@gmail.com> wrote: [snip]
Design Goals: The new syntax should * Be simple to read
Personally, I'm -1 on this. Still, if you're already changing the syntax, you don't need the extra punctuation ( '$' in your examples). This could work just as well without them:
Example: $int count = 0
$bool def check($string testValue): return testValue.lower() == "true"
int count = 0 bool def check(string testValue): return testValue.lower() == "true"
AFAIK, since today all these cases generate syntax errors, they are pretty unambiguous.
Cheers, Imri
-- Imri Goldberg -------------------------------------- www.algorithm.co.il/blogs/ -------------------------------------- -- insert signature here ----
_______________________________________________ Python-ideas mailing list Python-ideas@python.org http://mail.python.org/mailman/listinfo/python-ideas
-- Gerald Britton