[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: Alexander Mueller <alex_at_littleblue.de>
Date: 2002-09-11 14:11:13 CEST

subversion@blueyonder.co.uk wrote:

>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
>
>
Taking the geosoft style it should be "doSwitch" (Names representing
methods or functions must be verbs and written in mixed case starting
with lower case), as "switch" isnt possible.
The first option would be against rule 3 "Names representing types must
be in mixed case starting with upper case".

So I still prefer the rule "Names representing methods or functions must
be verbs and written in mixed case starting with lower case", "doSwitch"
and "doExport"; the other methode names I would leave untouched.

>
>-----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.
>
>
>

-- 
Mit freundlichen Grüssen aus Ravensburg
Alexander Mueller
=========================================================
ingenieurbuero Alexander Mueller & Egon Maurer
untere breite strasse 15
88212 ravensburg
telefon: 0751/55 777 65
telefax: 0751/55 777 67
email:   alexander.mueller@littleblue.de
web:     www.littleblue.de
Received on Wed Sep 11 14:12:00 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.