[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Lazy Evaluation question (was: Anybody look at Ruby?)



>>>>> "Aaron" == Aaron Crane <aaron.crane@pobox.com> writes:

Aaron>         # Do nothing if we got called on some other object
Aaron>         if (ref($self) ne "Lazy") {
Aaron>             return $self;
Aaron>         }

Bad code.  Bad code.  Get thee behind me, bad coder.

You've just killed all re-use.  What's the point of OO if you don't
make your classes inheritable?

Ewwww.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe