> median line count of methods
Auto-generate getters and setters for every instance variable and that will drag the average down. (Maybe a lot of those getters and setters should not have existed.)
Auto-generate getters and setters for every instance variable and that will drag the average down. (Maybe a lot of those getters and setters should not have existed.)
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/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?ch...
etc etc