Extending Python Syntax with @
Steve Lamb
grey at despair.dmiyu.org
Wed Mar 10 20:43:49 EST 2004
On 2004-03-10, David MacQuigg <dmq at gain.com> wrote:
> print @(separator = None) x, y, z
>
> @x,y:x*x+y*y -- anonymous function
>
> @f(x,y) -- generator function that can accept new arguments
> with each call
>
> @x @y @z -- short for instance variables in a method definition
> Each of these examples is debatable, but my point is that there are
No, they're not. You want Perl, use Perl. I used it for 5 freakin' years
and have had enough of "and this line noise means THIS but only after that
line noise!" I finally gave up when I read that they were thinking about
making case significant declarations. #$%#$ that.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list