in reply to Re^4: RFC: The Poor Man's Accessor Filter in thread RFC: The Poor Man's Accessor Filter
I must admit I am often wary of CPAN packages which do a _lot_ of perhaps intrusive things in ways that I can't immediately grok. What's really going on? Add to that the need to learn the interface, which may not have been The Way I Would Have Done It, and so I start feeling a bit dizzy.
At this point, though, I find myself dissatisfied with Perl's lack of a native mechanism for building accessor methods. For example, by your argument, does having Perl manage arrays for us will always leave some people with the question of what really goes on in the implementation? Of course not -- because it's in the core of Perl. Now that we've traipsed off the cliff's edge, we're in uncertain waters.
At the same time, a well-written package should exist which is easy to use and understand -- does what's expected, doesn't Surprise us, is friendly, wags its tail, doesn't bite -- and so far, it looks like Class::BuildMethods is a good example of that.
|