Perl is worse!
Paul Jackson
pj at sgi.com
Sat Jul 29 00:10:25 EDT 2000
Steve wrote:
|> what of 1 + "1"? That isn't senseless, those are two numbers.
|> I can see they are two numbers, it is only because of typing
|> that it fails.
No. 1 + "1" is a pointer to the nul following the
ascii '1' in the nul-terminated string "1". <grin>
pretending-to-be-a-pure-C-programmer'ly-yours ...
--
--
I won't rest till it's the best ... Software Production Engineer
Paul Jackson (pj at sgi.com; pj at usa.net) 3x1373 http://sam.engr.sgi.com/pj
More information about the Python-list
mailing list