On 28.01.2012 13:53, Ivan Vučica wrote:
On Sat, Jan 28, 2012 at 13:44, David Chisnall<[email protected]>  wrote:
On 28 Jan 2012, at 12:34, Ivan Vučica wrote:
Also, I feel more comfortable using my own coding style when it comes to
indentation and stuff like that. For libraries where I feel I might be
doing major contributions, can I use my own coding style, or am I
absolutely required to use the GNU coding style?

More difficult to say.  The runtime uses the Étoilé coding conventions,
which are actually sane, but for any contribution to base or gui I try to
stick to writing obfuscated code^W^W^Wfollowing the GNU coding conventions.

The most important thing is consistency within a project, so if the
library already uses one set of coding conventions then it's best to follow
it, rather than mix and match.


I agree. But I feel Core Animation/QuartzCore and UIKit are separate
libraries from -base, -gui, et al, so am I right to conclude I can use my
style? :-)

You should just remember why we have a coding standard. It is so that different people can contribute to the same project without reformatting the whole code on each commit. And to make it easy to read the code independent of who wrote it. I cannot imagine that it hurts your ego that much to stick to a common coding standard as it will hurt the library if you don't do. Please remember code gets read a lot more than it gets written and we should minimise the pain involved there. (or rather keep it on the same level for all our libraries :-)

_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to