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

Re: GNOME Indentation Style



On Fri, 2005-04-29 at 06:37, Zeeshan Ali wrote:
> Hello everyone,
>    According to the article "GNOME Programming Guidelines", the gnome
> hackers prefer the Linux kernel indentation style: "For core GNOME
> code we prefer the Linux kernel indentation style." But comparing the
> gtk+ sources with that of the kernel, i see some major differences,
> e.g placement of braces on newline and keeping a space between the
> function/macro name and the opening bracket following it. Can anyone
> explain the the actual situation to me?

You should use whatever the project has chosen.  If you are starting a
new project the majority of GNOME programs are coded using the 8 space
tab "kernel" indentation style.  What is important is not the coding
style used but that it is the same style throughout the project.

--
J5



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