I come to praise .join, not to bury it...

Ken Seehof kens at sightreader.com
Thu Mar 15 18:47:10 CET 2001


Hmm ... I wonder what I'd do if I could overload __if__ ...

Hey, I know!  You could use it to implement fuzzy logic for quantum
computers.

The new __if__ would cause multiple superimposed quantum states based on the
probability wave distribution of the quantum bit argument.

----- Original Message -----
From: "Darren New" <dnew at san.rr.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Thursday, March 15, 2001 12:15 PM
Subject: Re: I come to praise .join, not to bury it...


> Alex Martelli wrote:
> > And then again, the _appearance_ that too much emphasis
> > was being placed on syntax-sugary issues kept me *AWAY*
> > from Python for longer than it should have
>
> Actually, what I found quite cool about Python is that the procedural
syntax
> maps to OO semantics. I.e., in Smalltalk, everything looks like a method
> call, including "if". In Eiffel, everything that isn't a method call
doesn't
> look like a method call, and vica versa. But in Python, the convenient and
> familiar "x = y[5:10]" maps to a real live method call you can override.
>
> Well, *I* thought it was neat. It lets you be OO where you want, and keeps
> it out of your face otherwise.
>
> --
> Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
> San Diego, CA, USA (PST).  Cryptokeys on demand.
> --
> http://mail.python.org/mailman/listinfo/python-list
>





More information about the Python-list mailing list