In article <[EMAIL PROTECTED]>,
 "ToddLMorgan" <[EMAIL PROTECTED]> wrote:

>I'm looking for the common types of mistakes that say a Java/C# or
>even C++ developer may commonly make.

Using subclassing when you don't have to. For instance, you might have a 
Java method which takes an argument of type java.io.OutputStream to 
which it writes. You might translate this to a Python method to which 
you are careful to only pass instances of subclasses of file objects. 
But in fact there is no necessity for this: you are free to pass any 
object which has appropriate members.

I suppose this is an instance of the more general rule: "using OO when 
you don't have to".
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to