Re: [Lxr-developer] Doco template
Brought to you by:
ajlittoz
From: Malcolm B. <ma...@br...> - 2001-06-20 15:06:16
|
Hi Zubin, "Sethna, Zubin (RSA, Brisbane)" wrote: > I want to propose that we us the following file header and function template > (in perl's POD format) to document the LXR source code. Tried to keep it > simple as possible. <snip> This looks good and simple which is always an advantage. Being an OO system there are lots of classes in the lxr - do you have a suggestion for documenting them? I don't know what the Perl Way is for this. For example, what I'd really like to do (actually see done :-) is documentation for each of the "base" classes Index, File & Lang to define what the methods are and what the usage/expected return values are. At the moment it's only possible to deduce this by looking at one of the derived classes, which risks confusing the interface and the implementation. I was considering adding empty functions to the base classes as placeholders for derived code & possibly as a place for the documentation. Cheers, Malcolm |