[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/libsvn_fs txn-table.c

From: Jim Blandy <jimb_at_zwingli.cygnus.com>
Date: 2000-12-14 19:08:35 CET

> btw, I'm happy to be seeing more "const" appearing in your code. It
> definitely helps in understanding what is an "in" vs "out" (or in/out)
> parameter.

Yes, I'm trying to use it whenever I can.

The documentation aspect of `const' I really like. But I'm
uncomfortable using it to suggest something other than what it really
means, according to C. In a lot of the cases you constified (back in
mid-November?), the meaning you're trying to convey is somewhat
different from the actual implications of `const'.

I'd rather say exactly what I mean in comments than say odd things in
the code that hint at my real intent.
Received on Sat Oct 21 14:36:17 2006

This is an archived mail posted to the Subversion Dev mailing list.