http://qs1969.pair.com?node_id=559979


in reply to Re: Getting rid of "new", Implied actions are bad
in thread Getting rid of "new"

Without a verb, your statement "Some::Other::Class( \%options )" has no visible action although one is being performed

And heaven help the poor fool who has to maintain it when it becomes this:

my $foo = Some::Other::Class( code => sub { DoThingsWith( $_[0] ) } );
In the previously mentioned absence of a verb, someone is definitely going to think the action comes from DoThingsWith()....

But I'd be the last person in the world to discourage a Very Cool, if Quite Tricky Idea. It's cleverness personified, and I don't care what The Damian says...cleverness has a place in the world!

Put it in Acme please, so nobody I code with uses it :)

~Jeff