Message: 5 Date: Mon, 30 Jun 2008 11:49:59 +0200 From: "Andre Engels" <[EMAIL PROTECTED]> Subject: Re: [Tutor] Is "var = None" in Python equivalent to "Set var = Nothing"in VB? To: Kelie <[EMAIL PROTECTED]> Cc: tutor@python.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8
>>I don't know about Visual Basic, In VB6 ( I have not worked with VB.NET), objects are set to Nothing when they go out of scope, yet there is a fair amount lot of code out there where objects are explicitly set to Nothing. This is a pretty common practice in VB land. >>but in Python these statements are unnecessary. What happened to "Explicit is better than implicit"?
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor