Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: RFC: The Poor Man's Accessor Filter

by rje (Deacon)
on Oct 08, 2008 at 19:50 UTC ( [id://716080]=note: print w/replies, xml ) Need Help??


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.
  • Comment on Re^5: RFC: The Poor Man's Accessor Filter

Replies are listed 'Best First'.
Re^6: RFC: The Poor Man's Accessor Filter
by Anonymous Monk on Oct 09, 2008 at 08:08 UTC
    Perl has many native methods for building accessors. Your choice of using InsideOut Objects deliberately circumvent them. If you want to use native method building, use native objects.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://716080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found