|We don't bite newbies here... much|
Well your code has a logical flaw and a typo.
Obviously untested, but the point was that I cannot see the purpose for a subroutine, never mind a whole class for such a purpose.
I've found this kind of thing very prevalent in Python (& ruby) code that I've converted in the past.
You get a whole bunch of classes to implement some algorithm; but when you strip away the boiler place and make-work, you end up with one or two lines from each class actually doing useful work. (In Perl at least.)
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.