Forum OpenACS Development: Re: Code duplication?

Collapse
3: Re: Code duplication? (response to 1)
Posted by Friedrich Dominicus on
Thanks, I found that also but am wondering about the massive code duplication and the naming which gives the same name to different queries. I read about tcl and xql in a thread dated back to 2002, but the point is that the code still is there. It's in the .xql file and in the .tcl file. This is by many means a bad thing.

Just an example you change  query in the .xql file (let's say postgres) but do not change it for Oracle also, and you still keep another query in the .tcl file. You can't keep that in sync. So if there is a query in the .xql file the same should not be in the .tcl file.

Regards
Friedrich