Perl is worse! (was: Python is Wierd!)

Richard Jones Richard.Jones at fulcrum.com.au
Fri Jul 28 00:16:01 EDT 2000


[Steve Lamb]
> On Fri, 28 Jul 2000 11:37:46 +1000, Richard Jones
> <Richard.Jones at fulcrum.com.au> wrote:
> >   Hey, don't worry about mis-using the linenoise - you just have to _look_
> >at the damn structure in Perl the wrong way and suddenly it's something else
> . 
> 
>     Please, be realistic.  How is this different than Python's automatigal
> variable declaration based solely on first use?

   Eh? You're comparing the assignment operation - the placing of a label on an 
object - with the automagical creation of an object? How is:

   a = 1

 ... the same as

   $a = undef;
   $a->{foo} = 1;

 ... not raising an error?


 ... especially when the second is buried deep in some complex application and 
fails to raise an exception, thus masking the true source of the error?


     Richard






More information about the Python-list mailing list