Re: Coding style of function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-11-17 at 01:58 +0100, Harobed wrote:
> Hello,
> 
> I read the Gnome Coding Style at
> http://developer.gnome.org/doc/guides/programming-guidelines/code-style.html and I don't see a paragraph about this question :
> 
> Why sometime a function is write as like void foo (int bar) and sometime
> as like void foo(int bar) ? (spacer less)

That is mostly a matter of taste. When contributing code to GNOME (or
any other project, for that matter) you should try (hard) to follow the
coding style of the surrounding code. Now, you'll quickly notice that
most code in GNOME does use a space before the opening parenthesis in a
function call, except for some exceptional modules.

-- m



-- 
Mariano SuÃrez-Alvarez <msuarezalvarez@xxxxxxxxxxxx>
http://www.gnome.org/~mariano

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux