in reply to opinions on the best way to inherit class data

therein lies its downfall - a subclass is obligated to provide its own implementation of Class_Data if it wants to expose its own version of $_Class_Data. not an ideal solution when you want a subclass to provide its own $_Class_Data without requiring the subclass author to provide an implementation.

I don't quite see the problem. I mean, if a subclass actually want's to provide it's own data, why is it a bad thing that the subclass itself is responsible for making it happen? To me, that seems kind of natural. So, what am I missing? :)

/J

  • Comment on Re: opinions on the best way to inherit class data