RE: <> and !=
[hokiegal99, on <> vs !=]
> What's the reason for having two symbols mean the same thing?
Hysterical raisins. Python originally used only "<>". C programmers whined
about that, so Python added "!=" too. But Python code already used "<>", so
it was too late to get rid of that one. "<>" was deprecated instead.
That's a computer science term usually meaning it's like a mentally
disturbed uncle: we won't kill it, but we won't talk about it either
<wink>. The good news is that Guido has become more hardened to whining
over the centures since then.
Re: <> and !=
Tim Peters wrote:
> "<>" was deprecated instead.
> That's a computer science term usually meaning it's like a mentally
> disturbed uncle: we won't kill it, but we won't talk about it either
That's very good... very good indeed. I know exactly what you mean. I'll
have to use your explanation to explain 'deprecated' to my users!
|All times are GMT. The time now is 06:46 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.