On Sun, 5 Dec 2004 17:07:47 +0100, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> a suggestion: if you really want to be productive in python, forget about
> "is" for a while.  good code doesn't copy stuff much, either, by the way.
> python's all about objects, and things that hold references to objects.

I believe that the "is-obsession" has its roots on the old C-ish
confusion about comparing pointers vs. actual contents pointed by
them. That's about the same here, except that Python isn't C, and that
object references in Python behave in a sane way :-) making "is"
unnecessary most of the time.

-- 
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to