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

Re: SVN type concerns

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2001-02-22 21:02:11 CET

Ben Collins-Sussman <sussman@newton.ch.collab.net> writes:
> I'm +1 on killing svn_boolean_t altogether.
>
> But -- I don't want to get rid of our TRUE and FALSE defines. I think
> that "return FALSE" is easier to read than "return 0", for the same
> reason that I think "return SVN_NO_ERROR" is clearer than "return 0".
> Zero can have different meanings in different contexts.

That's fine -- I think that can really be left to personal preference,
since it's not actually part of the public interface. (Well, it might
be part of the documentation, but people usually read "return
non-zero" and "return true" to mean the same thing.)
Received on Sat Oct 21 14:36:23 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.