Perl is worse! (was: Python is Wierd!)
Anthony Baxter
anthony at interlink.com.au
Thu Jul 27 21:17:31 EDT 2000
>>> Steve Lamb wrote
> Range returns an error because of a bad type being stuffed into it. Perl
> at least sees that it is a number and makes the conversion itself. I had to
> get around it by changing the foo assignment line to:
> foo = int(match.group(3))
Euw! No, the "oh, I know what you want that to be, I'll change it
for you" is my #1 all-time perl hate. I want a
"use really_strict_and_leave_my_types_alone" option before I ever
consider looking at perl for anything ever again. Particularly when
combined with magic linenoise - use the wrong bit of linenoise, and
suddenly your large complex datastructure is an int. Yaaay.
Anthony
--
Anthony Baxter <anthony at interlink.com.au>
It's never too late to have a happy childhood.
More information about the Python-list
mailing list