Business object coding conventions

Rich Johnson rjohnson at dogstar-interactive.com
Wed Dec 8 21:32:57 EST 2004


On Tuesday, December 7, 2004, at 04:50 PM, Derek Atkins wrote:

> Rich Johnson <rjohnson at dogstar-interactive.com> writes:
>>   AFAIK the conventions used are implicit and not documented, either
>> in the code or elsewhere.  The 'private' aspect is documented  only in
>> a few of the *P.h headers and the absence of any 'public' declarations
>> implies public unless specified otherwise.    I agree that the pattern
>> used for the most part matches that of basic opaque object programming
>> (aka data abstraction/hiding for C)--but it isn't stated anywhere.
>
> Eh..  Welcome to the world of open source projects that have had
> multiple generations of developers.
>
>> But now it's on the record;  so I'm happy  :-)
>
> Oh, if documentation in email is sufficient, you didn't search well
> enough.  I'm certainly this was mentioned on the -devel list several
> years ago.

Man, that's like trying to find a needle in a haystack.   It's not that 
it's an email
answer, it's that it's an _authoritative_ answer--and certainly more 
authoritative
than any inference I could come up with.



More information about the gnucash-devel mailing list