Python's annoyance.

Doug Holton insert at spam.here
Wed Nov 24 15:33:15 EST 2004


caroundw5h wrote:
> Serioulsy, one of python's main selling points is its elegant syntax,
> non perl like, non C like. If it can't live up to it. I guess i might
> as well use perl or ruby or server side javascript.

I think it's still better than perl or ruby, but anyway,
here are your two examples in boo: http://boo.codehaus.org/

1.
t = "${page}: ${title}"

2.
def p2(arg as int):
     print arg*2

Probably you'll be able to do similar things in Python 3.0, too, but 
that is years away.



More information about the Python-list mailing list