Jaaved Ali Khan

16%
Flag icon
• Make a Constructor Method that takes the object to be converted as an argument. For example, Date class>>fromString: is a Converter Constructor Method. It takes the String to be converted as an argument and returns a Date. Put Converter Constructor Methods in a protocol called “instance creation.”
Smalltalk Best Practice Patterns
Rate this book
Clear rating
Open Preview