pharo-wiki icon indicating copy to clipboard operation
pharo-wiki copied to clipboard

instance variables, class variables, class instance variables

Open jecisc opened this issue 6 years ago • 9 comments
trafficstars

jecisc avatar Dec 26 '18 15:12 jecisc

Explain with an example the =/= between class variable and class instance variable.

Explain why it's bad idea to do a super initialize class side.

jecisc avatar Dec 26 '18 15:12 jecisc

Maybe it should be in a guide called "Pharo object model"?

jecisc avatar Dec 26 '18 15:12 jecisc

Same comment: https://github.com/pharo-tips-and-tricks/pharo-tips-and-tricks/issues/30#issuecomment-450101632

Pharo object model is already covered in the books

olekscode avatar Dec 27 '18 08:12 olekscode

I think this part is not covered by Pharo By Example.

jecisc avatar Dec 27 '18 12:12 jecisc

PBE1 chapter 6.4. Instance structure and behavior, sections Instance variables (p. 87), Class instance variables (p. 90), chapter 6.9. Shared variables, section Class variables (p. 107)

olekscode avatar Dec 27 '18 14:12 olekscode

Ok, I have a bad memory apparently :')

jecisc avatar Dec 27 '18 15:12 jecisc

So should we just put a pointer to PBE?

juliendelplanque avatar Jan 25 '19 08:01 juliendelplanque

IMO it's not a bad thing to have more documentation on things that are almost not moving such as the object model of Pharo.

But we should point to other documentation in a See Also section

jecisc avatar Jan 25 '19 14:01 jecisc

This would fit well in the Glossary started by Julien

jecisc avatar Jun 01 '19 00:06 jecisc