why () is () and [] is [] work in other way?

Chris Angelico rosuav at gmail.com
Wed Apr 25 13:33:51 EDT 2012


On Thu, Apr 26, 2012 at 3:27 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> By the way, in mathematics, ≡ normally means "is equivalent to", which is
> not quite the same as "identical to".

That's perhaps because, in mathematics, nobody would even think of
asking if this 4 is the same as that 4. What sort of question is it?
Four is four! How could you tell one four from another? Mathematics is
not the same as programming, and the whole concept of objects in
memory simply isn't a mathematical one at all.

ChrisA



More information about the Python-list mailing list