marick / fp-oo

Code samples and exercise solutions for /Functional Programming for the Object-Oriented Programmer/
143 stars 50 forks source link

:__own_symbol__ => :__class_symbol_of_instance__ #32

Open marick opened 11 years ago

marick commented 11 years ago

It's hard to remember what :__own_symbol_ is for. Would the above name change help?

marick commented 11 years ago

:own_symbol_for_instance?

robermann commented 11 years ago

:__entity_symbol_ or :__abstraction_name_

I'd not view it just as an instance-centric attribute; I'd personally like thinking of it as the purpose of the new type being defined, whereas :__class_symbol__ formalize that purpose in a hierarchy type.