Page 1 of 1

spaces and braces in method decls

PostPosted: Tue Dec 17, 2013 4:35 am
by kobi7
another nitpick:
can you relax this rule?
Error: Misplaced space between method name and opening brace "("
def methodName(
vs
def methodName (

the second is an error.
can it be accepted as well?

just a coding style or habit that I think is more readable.
thanks, kobi

Re: spaces and braces in method decls

PostPosted: Tue Dec 17, 2013 5:50 am
by Charles
I renamed your post from "nitpicks" (and there was only one) to "spaces and braces in method decls".

Just about any title is better than a generic title unless your post really is either generic or contains extensive instances said generic title.

Regarding your request, probably not. Cobra favors consistent syntax between developers and projects.