Thanks for your reply.
For me the first approach is more OO. It operate on objects variable. But from the other hand when I'am reading such code:
I can't find that doA and doB perform operations on someData. It is not clear ...
Hmmm, looks like there is no 'best approach', all depends on situation
Thanks!
Zbyszko