in reply to Re^8: The future of Perl?
in thread The future of Perl?
We lose some error checking and ability to use it as role or put type checks or coercion (none of which I did either but some of it would be a one or two line addition)
Any errors will be checked when the underlying array operations are performed. And the messages will be concise and informative.
Unlike those that Moose produces!
for example a web spider object would have a user agent but it would be pleasant to have $spider->get instead of having to write $spider->user_agent->get
But, that can be done in one line with no modules:
package Spider; ... *get = *{ $self->ua->get }; ...
The bare bones mop that may come into the core in 5.24 or something is an example of how little agreement there is on which features are crucial and which are in the way.
Oh Dog! If Perl core starts coming with a MOP; then I sure hope that they also provide a compile-time -DBukIt to throw it away.
I mean, what good is a MOP without a BukIt :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^10: The future of Perl?
by Your Mother (Archbishop) on Dec 15, 2014 at 06:11 UTC | |
by BrowserUk (Patriarch) on Dec 15, 2014 at 08:19 UTC | |
by salva (Canon) on Dec 15, 2014 at 10:09 UTC | |
by Your Mother (Archbishop) on Dec 15, 2014 at 23:03 UTC |