Checking against NULL will be eliminated?
Neil Cerutti
neilc at norwich.edu
Thu Mar 3 08:16:02 EST 2011
On 2011-03-03, Tom Zych <freethinker at pobox.com> wrote:
> Carl Banks wrote:
>> Perl works deterministically and reliably. In fact, pretty much every
>> language works deterministically and reliably. Total non-argument.
>
> Well, yes. I think the real issue is, how many surprises are
> waiting to pounce on the unwary developer. C is deterministic
> and reliable, but full of surprises.
Point of order, for expediency, C and C++ both include lots and
lots of indeterminate stuff. A piece of specific C code can be
totally deterministic, but the language is full of undefined
corners.
> Python is generally low in surprises. Using "if <identifier>"
> is one place where you do have to think about unintended
> consequences.
Python eschews undefined behavior.
--
Neil Cerutti
"What we really can learn from this is that bad accounting can yield
immense imaginary profits." --Klepsacovic
More information about the Python-list
mailing list