On Thu, Nov 21, 2002 at 01:29:32AM -0500, Tanton Gibbs wrote:
: Properties have bothered me, but for a different reason.  It appears that
: everyone's answer to everything is "make it a property!"

Yes, properties should generally be a last resort, not a first resort.

: Properties are just strange to comprehend...they are like hidden attributes
: that are squirreled away until you least expect them...then

Think of them as creating a singleton class with extra attributes.

: they pop up and bite you.  I've never gotten the warm fuzzies from
: properties, new ones just appear out of thin air and I feel like they
: are the kitchen sink feature of Perl6

They're more like a safety valve feature for when your class system just
doesn't get you from here to there.

: (along with grammar rewrites...in
: which you can make your one character program make your morning toast for
: you if you decide to rewrite the grammar).

Well, technically you have to at least have a "use x;" at the front to switch
to the x grammar.  I suppose you could pass -Mx on the command line though...

Larry

Reply via email to