Re: Dijkstra gets it wrong [was: Re: D gets it right]

From: Programmer Dude (Chris_at_Sonnack.com)
Date: 02/25/04


Date: Wed, 25 Feb 2004 09:52:42 -0600

Joe \"Nuke Me Xemu\" Foster wrote:

>> I have mixed feelings about [properties] sometimes. They're nice
>> syntactically, but it's also nice having it obvious when you're
>> using a method verses a variable.
>
> Only VB4 had "real" Public class member variables. VB5 and 6
> treat them as syntactic sugar for an (unnamed) Private variable
> plus a set of Public Property Get/Let/Set procedures.

Which illustrates the point beautifully. I had no idea that was
the case (although it does make sense when you consider how VB
works).

-- 
|_ CJSonnack <Chris@Sonnack.com> _____________| How's my programming? |
|_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL  |
|_____________________________________________|_______________________|


Relevant Pages