in reply to Data::Delta module proposal

Almost every module that starts with "Data::" is poorly named.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Replies are listed 'Best First'.
Re^2: Data::Delta module proposal
by Tux (Canon) on Jul 31, 2013 at 15:31 UTC

      Data::Dumper is a case in point. It's a dumper for Perl variables, not data more generally. Can it be used as a drop-in replacement for PostgreSQL's pg_dump command? Not without loading that data into Perl variables first. Calling it "Variable::Dumper" would have been more descriptive.

      Data::Dumper isn't an absolutely awful name for what it does, but there are better names that could have been chosen. Virtually all modules deal with data in some way; that doesn't mean that virtually all modules should sit in the Data:: namespace.

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
Re^2: Data::Delta module proposal
by VGavara (Novice) on Jul 31, 2013 at 13:39 UTC

    Absolutely, maybe because of the abstract nature of the data concept.