in reply to Re: RFR: Inside-out classes - a Class::InsideOut primer
in thread RFR: Inside-out classes - a Class::InsideOut primer
I disagree about the main reason for wanting them. They may have been created to solve inheritance issues, but based on how often I'm asked about how to create private and read-only attributes, that seems to be the primary reason many people would want inside-out objects.
I'm reluctant to address the more esoteric concerns (like subclassing issues) in a primer -- the goal of a primer is to get someone started using a particular skill or technique, and it should not assume too advanced a prerequisite.
Besides that, your characterization that I'm "mostly concerned with" the private/read-only capabilities is ridiculous: I mention that issue once in the introduction, and refer to it obliquely once more in discussing class design. However, that latter is necessary because Class::InsideOut does require the developer to consider whether one's attributes are public, private, or read-only.
You are, of course, entitled to your opinions, but that doesn't make mine wrong.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: RFR: Inside-out classes - a Class::InsideOut primer
by Joost (Canon) on Mar 16, 2007 at 15:09 UTC | |
by xdg (Monsignor) on Mar 16, 2007 at 15:30 UTC | |
by Joost (Canon) on Mar 16, 2007 at 15:38 UTC | |
by radiantmatrix (Parson) on Mar 16, 2007 at 15:40 UTC | |
Re^3: RFR: Inside-out classes - a Class::InsideOut primer
by xdg (Monsignor) on Mar 16, 2007 at 15:02 UTC | |
Re^3: RFR: Inside-out classes - a Class::InsideOut primer
by bart (Canon) on Mar 18, 2007 at 15:32 UTC |