Re: GNOME Indentation Style
- From: "John (J5) Palmieri" <johnp redhat com>
- To: Zeeshan Ali <zeenix gmail com>
- Cc: Gtk Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: GNOME Indentation Style
- Date: Fri, 29 Apr 2005 07:50:13 -0400
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]