. .


How to Clone a Smalltalk Class

December 31, 2009 12:09:33.216

Ever had a situation where you needed to "clone" a class? The typical procedure looks like this:

  • File out your class
  • Open your favorite editor up and do a copy/replace operation
  • File the new class in

Admittedly, you don't need to clone a class that often, but if you've had to, you probably thought someting like "why isn't there a better way?" Well, it turns out that there is:

If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: ,

posted by James Robertson

 Share Tweet This