4 ms·
fyi the Cincom Smalltalk IDE New Class dialog shows these fields and checkboxes— Name: MyClass Superclass: Core.Object Instance Variables: anIns
by igouy 2y ago
fyi the Cincom Smalltalk IDE New Class dialog shows these fields and checkboxes—
Name: MyClass
Superclass: Core.Object
Instance Variables: anInstVar anotherVar
Create methods:
Accessors
Initializer
Subclass responsibilities
"Accessors" aka getters.
~
See 1996 "Smalltalk with Style"
page 113 get method
page 117 set method
https://rmod-files.lille.inria.fr/FreeBooks/WithStyle/SmalltalkWithStyle.pdf https://rmod-files.lille.inria.fr/FreeBooks/WithStyle/Smallt...
~
"After the creation of the class StUser, it is highly recommended that you perform automatic creation of instance variable accessors. One possible way to do this in Squeak is to use the context menu on a class among the entry more.... There, you can find create inst var accessors. Select this command to have all accessors created."
http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial?chapter=3D12 http://www.hpi.uni-potsdam.de/hirschfeld/seaside/tutorial?ch...
etc etc