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

RE: svn commit: rev 3151 - clients/rapidsvn/trunk/src/tests/svncpp

From: <subversion_at_blueyonder.co.uk>
Date: 2002-09-11 13:29:24 CEST

My 2 penneth, switch/export follow the (sort of) standard coding conventions.

The other options in my opinion are either
1. make ALL methods start with Uppercase i.e. Export/Switch
2. make ALL methods start with do i.e. doSwitch/doExport.
3. do a Microsoft and redefine the C++ standard!

Personally I prefer the first, oh and underscores in C++ come from the devil :o)

Tim

P.S. I rather like the C++ Style Guidelines at http://geosoft.no/style.html

-----Original Message-----
From: "Branko Cibej" <brane@xbc.nu>
Sent: 11 September 2002 11:15
To: "Alexander.Mueller@littleblue.de" <Alexander.Mueller@littleblue.de>
Cc: "Brent R. Matzelle" <bmatzelle@yahoo.com>, "dev@subversion.tigris.org" <dev@subversion.tigris.org>
Subject: Re: svn commit: rev 3151 - clients/rapidsvn/trunk/src/tests/svncpp

Alexander Mueller wrote:

> Branko Cibej wrote:
>
>> Alexander Mueller wrote:
>>
>>> Doesnt look bad as well. For me, "doExport" or "doSwitch" is fine.
>>> Its a matter of taste.
>>> Alex
>>
>>
>> Or just Export and Switch; C++ is case-sensitive, right?
>>
> Hm. Personally, I dont like case mixing.
> -1

Strange, you said you were satisfied with doExport and doSwitch, which
is mixing case in the extreme. :-) And the RapidSVN classes seem to be
capitalized.

Anyway, if I had a vote, I'd suggest do_something, with something_
taking second place.

-- 
Brane Cibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 11 13:27:05 2002

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.