Forgetting "()" when calling methods

Dale Strickland-Clark dale at riverhall.NOTHANKS.co.uk
Mon Apr 28 14:59:31 EDT 2003


Frantisek Fuka <fuka at fuxoft.cz> wrote:

>When I try to call methods, I sometimes forget to include the 
>parentheses. Instead of:
>
>if object.isGreen():
>	do something...
>
>i sometimes write:
>
>if object.isGreen:
>	do something...
>

It's the curse of Visual Basic.

I suggest you take your frustration out on the person who persuaded
you to learn VB in the first place.

Recovery may be found in hours of coding in just about any grown-up
language.

-- 
Dale Strickland-Clark
Riverhall Systems Ltd




More information about the Python-list mailing list