Forums

spaces and braces in method decls

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

spaces and braces in method decls

Postby kobi7 » Tue Dec 17, 2013 4:35 am

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
Falun Dafa is Good.
Truth, Compassion, Forbearance is Good.
kobi7
 
Posts: 82
Location: Israel

Re: spaces and braces in method decls

Postby Charles » Tue Dec 17, 2013 5:50 am

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.
Charles
 
Posts: 2510
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron