in reply to What kind of OO is this?
There is really no problem with what you are doing. Instead of taking it a big question as whether that's OO, or what OO it is, better just take a look at the goals you wanted to succeed.
You might want it to be OO, or you might just want the problem being resolved in a reasonable way. I am not saying that you cannot kill both birds by one stone, but no one is lucky everyday.
If you really care to make your program OO, then this is not OO, thus it is not a valid question as what type of OO it is. Using bless does not warrant OO.
But that does not change the fact that your code is quite elegant, and the trick is nice. You had the thing done, no regret.
|
|---|