in reply to Re^10: Assignable Subroutines
in thread Assignable Subroutines
Having you been reading what I've written? Or just picking out random phrases and responding to those. You have stopped trying to address the issues...and I am tired of repeating myself.
Lvalue subs as defined in P5 have--by the overwelming judgement of the opinions expressed on this site--fundemental issues with validation.
Type validation is no answer. You cannot replace everything you can do with:
die 'Bad value!' unless substr( $attr, $_[1], $_[2] ) =~ $regex;
with a type definition. Nor with a tie, because those parameters will not be available to it. Nor with a trait for the same reasons.
The only mechanism offered to correct this in P6 does not adaquately address those issues. Without some change to the muted solutions, the same problems will become enshrined forever in the trap of backwards compatibility.
They could be addressed now, before that comes to pass. But, if everyone buries their head in the sand saying "Larry's always right"--then they are ignoring history.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Assignable Subroutines
by Aristotle (Chancellor) on Jan 26, 2005 at 21:55 UTC | |
by BrowserUk (Patriarch) on Jan 26, 2005 at 22:22 UTC | |
by Aristotle (Chancellor) on Jan 27, 2005 at 01:33 UTC | |
by BrowserUk (Patriarch) on Jan 27, 2005 at 02:39 UTC | |
by Aristotle (Chancellor) on Jan 27, 2005 at 17:46 UTC | |
| |
by BrowserUk (Patriarch) on Jan 27, 2005 at 02:08 UTC | |
by Aristotle (Chancellor) on Jan 27, 2005 at 03:12 UTC | |
|