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

Re: Show Lock dialog before locking files

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-05-10 13:53:12 CEST

On 10/05/07, Lübbe Onken <l.onken@rac.de> wrote:
> Hi Stefan,
>
> You wrote:
> > 'skipping' is just another word for 'not showing' (in this
> > context anyway).
> > And by inversing the wording like this, I would have something like
> > 'notShowDialog' in the code, which is baaaad.
>
> Ahem. Following your logic, you could also call the variable 'skipDialog'.
> Is that baaaad too?

Or you could keep the name in the code and registry and just negate
the checkbox when reading, ie. if (!SkipLockCheckBox) ShowLockDialog =
true;

> Stefan, you sometimes tend to use double negated negative logic :P

And if you don't avoid using double negated negative logic it is not
difficult to misunderstand the meaning ;-)

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 10 13:53:25 2007

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

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