simple perl program in python gives errors

Tom Anderson twic at urchin.earth.li
Tue Jan 31 00:15:51 CET 2006


On Mon, 30 Jan 2006, Grant Edwards wrote:

> On 2006-01-30, squash at peoriadesignweb.com <squash at peoriadesignweb.com> wrote:
>
>> i was hoping one didnt have to initialize variables because perl 
>> defaults their value to zero. Also I noticed if I initialize a variable 
>> as 0 , then I can only do integer math not floating math.
>
> Python is a strictly typed language.  Perl isn't -- Perl does all sorts 
> of stuff "automagically" by trying to guess what you wanted".  I perfer 
> languages that do exactly what I tell them to rather than what the 
> language's author thought I might have meant.

Especially when that's Larry Wall ... :)

tom

-- 
Don't trust the laws of men. Trust the laws of mathematics.



More information about the Python-list mailing list