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

Collapse
Posted by Janine Ohmer on
Janine ... C++ includes the "inline" function modifier so the kind of efficiency hit one sees in SQL need not be there.

Hmm... I don't recall seeing it used. This was code written by longtime C programmers who were rewriting everything in C++ mainly because it was the buzzword of the day, and they did everything pretty much the way the docs for beginners said to.

However, even if "inline" had been used it would have been just as annoying to debug. I run into this in OACS, too - going from function to function where all each one does is return the value of another function. Bleah! :)