in reply to Refactoring: Soft-code class name in factory method

This refactoring is hardly original thinking. It's been done in the Smalltalk world for years. If you know of an existing writeup of this refactoring for Perl, please provide a reference.
Right here, at Re: Re: Extending object you don't create.

But no surprise, since I too have hacked Smalltalk since 1981. {grin}

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: Refactoring: Soft-code class name in factory method