← Back to team overview

launchpad-dev team mailing list archive

Re: Web service method names

 

On 9 December 2010 05:11, Jelmer Vernooij <jelmer@xxxxxxxxxxxxx> wrote:
> I also came across a number of methods that are explicitly exposed with
> a C-style (all lowercase, underscore as word separator) name rather than
> the CamelCasing that our methods use by default. Is there a particular
> reason for this? I couldn't find any relevant style recommendations
> about the web service API in our Python style guide or the
> "ImplementingAPIs" document on the wiki.

For the sake of API clients, it would be nice if there was a standard
for this.  I don't care which.  (Well, I think the Zope convention is
weird, but going with whatever is most currently most common is fine.)

We could in principle even make the wadl-generator check this, I think.

-- 
Martin



References