in reply to Re: use fields; # damnit
in thread use fields; # damnit
So I guess my question to you (and everyone else) is, are fields really ready for real world usage?
Well, there are certainly people using it out there in the wild.
That said, I don't and won't use them myself for three reasons.First, there are reasons why pseudo-hashes are being deprecated. Until the non-pseudo fields has been out for a couple of releases I'm not going to use them.
Second, to use them we have to control the base-class. Often I'm coding in places where I don't control the base class. Since I like consistency throughout the code fields aren't that useful to me.
Can I get these benifits today, without the risk of using "experimental" features?
The third reason I don't use them is that I can get the benefit of compile-time field name typo checking (and other benefits too) by using Abigail's inside out objects technique - without having to touch any experimental features.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: use fields; # damnit
by Aristotle (Chancellor) on Aug 21, 2004 at 15:21 UTC | |
by adrianh (Chancellor) on Aug 22, 2004 at 15:43 UTC | |
Re^3: use fields; # damnit
by tphyahoo (Vicar) on Jul 06, 2005 at 10:50 UTC | |
by adrianh (Chancellor) on Jul 06, 2005 at 12:11 UTC | |
by tphyahoo (Vicar) on Jul 06, 2005 at 12:18 UTC |
In Section
Meditations