syntax question: "<>" and "!=" operators

Just van Rossum just at xs4all.nl
Sat Mar 16 02:32:37 EST 2002


In article <iwtk8.6971$OP.215122 at stones>,
 Graham Ashton <graz at mindless.com> wrote:

> On Fri, 15 Mar 2002 18:49:09 +0000, Skip Montanaro wrote:
> 
> >>>>>> "Joe" == Joe Grossberg <josephgrossberg at hotmail.com> writes:
> > 
> >     Joe> Is there any effective difference between the two?
> > 
> > Nope.
> 
> I read somewhere (don't ask me where) that != is preferred.

But it's not generally accepted. I for one prefer <>, if only because I 
learned Pascal before C... Too bad you can't google on <> or !=, but it 
has been discussed many times in the past.

Just



More information about the Python-list mailing list