|
|
|
|
|
by pwpwp
5488 days ago
|
|
His argument against using classes/objects is that objects (in mainstream PLs) can't be accessed in a dictionary-like fashion. But switching to dictionaries wholesale for this reason seems to throw out the baby with the bathwater. The loss of abstraction is real, and could be worked around trivially by making every object respond to a dictionary protocol. This would give you the best of both worlds. |
|
You do realize that's the approach Clojure takes right?