[libclass-tiny-perl] 10/11: revise rationale text further
gregor herrmann
gregoa at debian.org
Sun May 31 14:03:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to annotated tag release-0.006
in repository libclass-tiny-perl.
commit e6f260c39f7663920a45eb64c465fbc5d4b1f31d
Author: David Golden <dagolden at cpan.org>
Date: Thu Sep 5 11:50:35 2013 -0400
revise rationale text further
---
README.pod | 24 ++++++++++++++----------
lib/Class/Tiny.pm | 24 ++++++++++++++----------
2 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/README.pod b/README.pod
index eaa4be8..12982e7 100644
--- a/README.pod
+++ b/README.pod
@@ -287,16 +287,20 @@ else, this is smaller in implementation and simpler in API.
=head2 Why this instead of Moose or Moo?
-L<Moose> is slow to start up and has about 30 non-core dependencies including
-XS modules. L<Moo> is faster and lighter at about 10 non-core (but pure Perl)
-dependencies. Class::Tiny has B<zero> non-core dependencies for Perls in the
-L<support window|perlpolicy>.
-
-Class::Tiny has less code, less complexity and no learning curve. If you don't
-need or can't afford what Moo or Moose offer, this is a intended to be a
-reasonable fallback. That said, Class::Tiny offers Moose-like conventions for
-things like C<BUILD> and C<DEMOLISH> for some minimal interoperability and an
-easier upgrade path.
+L<Moose> and L<Moo> are both excellent OO frameworks. L<Moose> offers a
+powerful meta-object protocol, but is slow to start up and has about 30
+non-core dependencies including XS modules. L<Moo> has a simpler meta-object
+protocol and is faster and lighter at about 10 non-core (but pure Perl)
+dependencies.
+
+By contrast, Class::Tiny has no meta-object protocol, minimal class
+introspection, and has B<zero> non-core dependencies for Perls in the L<support
+window|perlpolicy>. It has far less code, less complexity and no learning
+curve. If you don't need or can't afford what Moo or Moose offer, this is a
+intended to be a reasonable fallback.
+
+That said, Class::Tiny offers Moose-like conventions for things like C<BUILD>
+and C<DEMOLISH> for some minimal interoperability and an easier upgrade path.
=for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
diff --git a/lib/Class/Tiny.pm b/lib/Class/Tiny.pm
index 3b75350..0d2bb80 100644
--- a/lib/Class/Tiny.pm
+++ b/lib/Class/Tiny.pm
@@ -387,16 +387,20 @@ else, this is smaller in implementation and simpler in API.
=head2 Why this instead of Moose or Moo?
-L<Moose> is slow to start up and has about 30 non-core dependencies including
-XS modules. L<Moo> is faster and lighter at about 10 non-core (but pure Perl)
-dependencies. Class::Tiny has B<zero> non-core dependencies for Perls in the
-L<support window|perlpolicy>.
-
-Class::Tiny has less code, less complexity and no learning curve. If you don't
-need or can't afford what Moo or Moose offer, this is a intended to be a
-reasonable fallback. That said, Class::Tiny offers Moose-like conventions for
-things like C<BUILD> and C<DEMOLISH> for some minimal interoperability and an
-easier upgrade path.
+L<Moose> and L<Moo> are both excellent OO frameworks. L<Moose> offers a
+powerful meta-object protocol, but is slow to start up and has about 30
+non-core dependencies including XS modules. L<Moo> has a simpler meta-object
+protocol and is faster and lighter at about 10 non-core (but pure Perl)
+dependencies.
+
+By contrast, Class::Tiny has no meta-object protocol, minimal class
+introspection, and has B<zero> non-core dependencies for Perls in the L<support
+window|perlpolicy>. It has far less code, less complexity and no learning
+curve. If you don't need or can't afford what Moo or Moose offer, this is a
+intended to be a reasonable fallback.
+
+That said, Class::Tiny offers Moose-like conventions for things like C<BUILD>
+and C<DEMOLISH> for some minimal interoperability and an easier upgrade path.
=cut
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-tiny-perl.git
More information about the Pkg-perl-cvs-commits
mailing list