Forum OpenACS Development: Re: Functions in .xql files...

Collapse
Posted by Janine Ohmer on
That's just my somewhat strong opinion, how do others feel?

Well, following a call stack down 5 layers just to eventually return one lousy integer used to drive me crazy in my C++ coding days, too. IMHO one of the things required to be a really good OO programmer is knowing when to break the rules, because sometimes all they do is get in the way. You can hope that the compiler is optimizing out all those extra function calls, but you don't really *know* that it is...

So that's my long-winded way of saying yes, I agree - gratuitous use of abstraction is worse than none at all.