"!=" is bad form. Re: sorry....never mind
Werner Schiendl
ws-news at gmx.at
Thu Mar 8 05:18:33 EST 2001
Personally I have no problem with != because I have to use C and C++ for
many task at may job.
However, I think <> is more intuitive to the novice and maybe the same
widely used...
Maybe not the very best examples, but Basic and Pascal use it too
Probably it's the best to just let two of them be valid...
regards
werner
Erik Max Francis <max at alcyone.com> wrote in message
news:3AA72768.30243C29 at alcyone.com...
> James Logajan wrote:
>
> > Actually, for Python, "!=" IS totally bogus and should be considered
> > the
> > unusual variant. Unless the logical negation operation has been
> > changed from
> > "not" to "!" (shucks, version 1.5.2 still does all I need) then "!="
> > is not
> > suggestive of anything.
>
> It's a sequence of characters, very commonly used in programming
> languages to indicate inequality. Sometimes you actually have to learn
> things; not everything can instantly make sense without reading some
> documentation.
>
> --
> Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
> __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> / \ What do women want?
> \__/ Sigmund Freud
> Alcyone Systems' CatCam / http://www.catcam.com/
> What do your pets do all day while you're at work? Find out.
More information about the Python-list
mailing list