Class hierarchy problem in this social network model
- by Gerenuk
I'm trying to design a class system for a social network data model - basically a link/object system. Now I have roughly the following structure (simplified and only relevant methods shown)
class Data:
"used to handle the data with mongodb"
"can link, unlink data and also return other linked data"
"is basically a proxy object that only…