[Pharo-project] Auto create new and initialize methods for new class?
Sean P. DeNigris
sean at clipperadams.com
Fri Jun 15 20:13:37 EDT 2012
Conrad Taylor wrote
> Stéphane, I have been using VW Smalltalk and it creates new classes ,by
> default, with a #new method on the class side and a #initialize method on
> the instance side.
In Pharo, new is built-in and calls initialize. I have a cool little hack
that gives you the option to automatically create/add to #initialize as
instVars are added. I'll post it in case that helps you...
View this message in context: http://forum.world.st/Auto-create-new-and-initialize-methods-for-new-class-tp4634963p4635053.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
More information about the Pharo-dev