1 Feb 06:27
[perl6/specs] 588f3e: move smartmatch toward treating Match like Bool
GitHub <noreply <at> github.com>
2012-02-01 05:27:56 GMT
2012-02-01 05:27:56 GMT
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 588f3ef1964d440d1e1cfc20dd17e84a9600f521 https://github.com/perl6/specs/commit/588f3ef1964d440d1e1cfc20dd17e84a9600f521 Author: Larry Wall <larry <at> wall.org> Date: 2012-01-31 (Tue, 31 Jan 2012) Changed paths: M S03-operators.pod Log Message: ----------- move smartmatch toward treating Match like Bool Commit: e73bd99f9826170835a55753c1b0bbbfb6bdc120 https://github.com/perl6/specs/commit/e73bd99f9826170835a55753c1b0bbbfb6bdc120 Author: Larry Wall <larry <at> wall.org> Date: 2012-01-31 (Tue, 31 Jan 2012) Changed paths: M S12-objects.pod Log Message: ----------- Merge branch 'master' of github.com:perl6/specs Compare: https://github.com/perl6/specs/compare/f4488b0...e73bd99
Getting back to the topic of the original post: I think "blessall" is
a bad name for what's proposed, and I don't see a fantastically large
need for that functionality. What's wrong with just defining a BUILD
submethod in the class?
I also don't see a problem of having to divide initialization code
between .new and .BUILD. They have different purposes -- .new is
outwards-facing, receiving arguments. .BUILD is infrastructural and
inwards-facing, building up (as the name suggests) your attributes. If
RSS Feed