Coda File System

Re: is this correct? (realm object destructor)

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Sun, 27 Jul 2014 08:29:01 -0400
On Sat, Jul 26, 2014 at 05:08:39PM +0200, u-codalist-rcma_at_aetey.se wrote:
> I should have paid attention while reading realm.h,
> the code was clearly all right.
> 
> On Fri, Jul 25, 2014 at 01:58:07PM +0200, u-codalist-rcma_at_aetey.se wrote:
> > -       ReplaceRootServers();
> > +       ReplaceRootServers(NULL);
> 
> I still would argue that such a change shows the intention more clearly,
> the code reader does not have to consult the separate .h file to know
> what happens.

Heh, that is one of the reasons C++ is not my favorite language.

Jan
Received on 2014-07-27 08:29:03