On Wed, Apr 10, 2013 at 1:33 PM, Tom Metro <[email protected]> wrote: > Greg London wrote: [...] >> Perl's "bolt-on" version of classes can fix this >> about as easily as perl's closure stuff can fix it. > > The closure version doesn't "scale." You can't stick it in a library and > call it from multiple places without stepping on things.
I do not agree with this assertion. I've seen closure based solutions and OO versions both scale, and both fail. They are appropriate for different problems, and different designs. But as long as you know what they are (and aren't) good at, you can choose either. Speaking personally, I tend to prefer code that is heavy on closures to code that is heavy on OO. But that's a matter of taste. [...] _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

