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
In reply to Re: Refactoring: Soft-code class name in factory method
by merlyn
in thread Refactoring: Soft-code class name in factory method
by dws
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |