in reply to Ironclad protection of instance data
For the first time, I am going to enforce strict OO standards ...
When I hear this, I cringe. Nine times out of ten, the result will be barely usable, usually because the author's vision for their precious class library hasn't been broad enough to encompass the variety of problems that people might use the class library to solve, and sometimes because the resulting class library is too constrained. (Consider the standard Java classes. Need to extend String? Sorry, out of luck.)
Before you go too far down the "enforce" road, consider the "enable" road. It's a friendlier road, even if it can be a bit more chaotic. If you prefer to stick with the former path, consider switching to a language that supports enforcement with less convolution than Perl requires. Or treat the whole thing as an experiment.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ironclad protection of instance data
by friedo (Prior) on Jul 03, 2004 at 18:39 UTC | |
by CountZero (Bishop) on Jul 04, 2004 at 12:35 UTC |