On Thu, 13 Sep 2007 10:10:57 -0700, TheFlyingDutchman wrote:

>> Isn't one of the main ideas behind python that it doesn't force you to
>> do (well, declare) anything? And by "ideas" I mean "design decisions".
>> Thats exactly what makes python great for prototyping; you just do it
>> and see if it works. As soon as you need to declare things you have to
>> change stuff in at least 2 places for every change of heart you have.
>>
>> (Can you tell I'm currently forced to developing in Java? ;) (Which I'm
>> currently avoiding to do, by wasting my time on usenet.))
>>
> But if you are looking at code you didn't write, it's nice to be able
> to see all the member variables that a class has listed separate from
> method code.

That information is usually in the `__init__()` method and the class
docstring.

> I think static typing helps in trying to deduce what code is doing,
> particularly when you are looking at function definitions. You don't
> have to work to find out what type of variables it takes.

This should either be obvious or in the docstring.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to