"!=" is bad form. Re: sorry....never mind
James Logajan
JamesL at Lugoj.Com
Fri Mar 9 00:41:35 EST 2001
Tim Hammerquist wrote:
> I realize I seem to be in the minority in this group when I say I like
> C/C++. NB: I like them as _languages_, but would prefer NOT to do
> everyday programming in them, as they're just a pain in the ass most of
> the time.
Ironically, I like C and have been coding in C on and off for it seems just
about forever (well, 18 some years I think). And I find programming in C a
mostly pleasurable experience. Yet as I stated earlier, for Python "<>"
feels "righter" to me than "!=". I suspect it is a triviality for both
programmers to understand, and the language to support, both forms. While
deprecating "<>" in Python would not mean the end of civilization as we know
it, it would be a damn shame anyway.
(a > b) or (a == b) ---> (a >= b)
(a < b) or (a == b) ---> (a <= b)
(a < b) or (a > b) ---> (a <> b)
More information about the Python-list
mailing list