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

Coding style guidelines

From: Alexander Klenin <klenin_at_gmail.com>
Date: 2007-09-03 18:16:11 CEST

Is there any coding style guidelines for TortoiseSVN?

Most of them can be glanced from existing code, but, for example, I
just found out that Stefan prefers class member functions to file
scope functions. If I would know that, surely I would code it
according to his preferences ;-)

On a related note, is it really necessary to parenthesize even single
variables and function calls in inside conditionals? For example is,
                if ((!bLogRes)&&(!m_path.IsUrl()))
really preferred to
                if (!bLogRes && !m_path.IsUrl())
?

I realize this topic is highly "flammable", so I will follow whatever
guidelines are accepted, just wanted to re-confirm unusual ones.

-- 
Alexander S. Klenin
Insight Experts Ltd.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Sep 3 18:13:04 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.