Hello Aldo, On Thu, 2009-09-24 at 01:18 -0400, Aldo Bucchi wrote: > Hi, > > 1. > I'm looking for Virtuoso programming best practices. Looking at a > codebase like ODS I can see several intermixed styles. Any particular > corpus that you would say is "worth following"? > ( other than your own code :P )
My own code is definitely bad example. Every time I write really interesting and compact and useful procedure I get a request to rewrite it as C code for better speed and to place into the executable. > 2. > Any documentation pattern for procedures? Any tool to generate docs? I use Doxygen ( http://www.stack.nl/~dimitri/doxygen/ ) notation for some parts of the C code. It's quite similar to javadoc (it can even parse javadoc comments). No specific tools or notations are used for SQL, and there are no strict plans, but I guess I'll extend Doxygen sooner or later to support SQL sources. ("later" is more probable: I intend to do that at least twice a year since 2001, still no progress) Best Regards, Ivan Mikhailov OpenLink software http://virtuoso.openlinksw.com