|
 |
Warp wrote:
> Darren New <dne### [at] san rr com> wrote:
>> Then you generate the header docs from the source code and you're good to
>> go.
>
> Not everything in a source file is supposed to be part of the public
> interface.
Ah, but it *is*, in C++.[1] In C#, you can tell it to leave the private
functions out of the generated documentation altogether. :)
[1] Which, incidentally, I find highly annoying when it's time to add a
helper function to a class to split up a big file, and I have to go declare
this completely private class in a different file *and* recompile everything
that uses the class, even tho I've just said "nobody outside the class is
allowed to use this anyway." But that's a minor annoyance, just part of the
job, compared to the *CRAP* I'm dealing with lately in this code base. :-)
--
Darren New, San Diego CA, USA (PST)
I ordered stamps from Zazzle that read "Place Stamp Here".
Post a reply to this message
|
 |