Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Refactoring: Soft-code class name in factory method

by merlyn (Sage)
on Apr 24, 2001 at 05:33 UTC ( [id://74927]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://74927]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-26 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found