Why is it a mess?
Posted Dec 20, 2011 23:32 UTC (Tue) by
pboddie (subscriber, #50784)
In reply to:
Why is it a mess? by khim
Parent article:
Cracks in the Foundation (PHP Advent)
In languages like perl, php and python (which try to "guess" what you meant and "help" you) it's disaster, obviously.
Python doesn't "guess" anything. There's a protocol that all classes support which indicates whether an instance is considered true or false.
(
Log in to post comments)