Not as far as I'm concerned. I just think that a function is a better place to put all the functionality.Quote:
So, I am to understand the following changes:
Printable View
Not as far as I'm concerned. I just think that a function is a better place to put all the functionality.Quote:
So, I am to understand the following changes:
But functions do not have the flexibility of classes... No possibility of overriding the conversion part, for example.
*shrug*
That sounds more like feature creep than something you actually need to me.
Yes, but then again, I like flexibility. If you wanted to change the conversion part, I'd have to break it out into its own function which you could specialize, in order to avoid re-coding everything else... and you have to specialize it for every type you want it to do differently.
I still think I'm going for a class, but taking into account what everyone thinks...