http://trac.enlightenment.org/e/wiki/ECoding
How about updating this page to show the correct code styling? And have it as a policy that all new contributors must read before gaining access? (And of course, strongly encouraging current contributors to read it) Heres what the Gnomers have http://developer.gnome.org/doc/guides/programming-guidelines/code-style.html which is a fairly comprehensive guide and probably a little long winded for us. Toma. On 24 March 2010 19:19, Gustavo Sverzut Barbieri <barbi...@profusion.mobi> wrote: > > On Wed, Mar 24, 2010 at 8:01 AM, Tom Hacohen <t...@stosb.com> wrote: > > On Wed, Mar 24, 2010 at 1:23 AM, André Dieb <andre.d...@gmail.com> wrote: > > > >> Ressurecting this discussion... any new thoughts? > >> > >> Having a sane and consistent coding style is very important, it annoyed me > > quite often when I worked with e's code. > > There are two important things needed to be done: > > 1. Having a simple and comprehensive text explaining the coding style. > > 2. Having a working 'indent' command that changes the code to the wanted > > style. (Not trivial at all, gnu-indent has it's share of issues). > > agreed. > > > > I found this line in your email: "I have attached a proposal. The structure > > is based on the cairo" Thoguh I have failed to find it. > > It's probably because my eyes lost track because of all the mess. If you can > > do section 1 for your suggestion, that would be great, > > this way people will be able to respond in a sane manner. > > This was from vincent I guess. > > > > Just my thoughts, > > -- > > Tom. > > > > P.S > > Concerning: > >> i have always had/used: > >> blah > >> { > >> xx; > >> } > >> > >> ie {}'s are indented a bit. > > > > I hate it, always have. I actually really like the kernel's coding > > conventions: http://www.kernel.org/doc/Documentation/CodingStyle > > Well, there is always a coding style one will hate, and another will > love. As this is meritocracy and raster did most of the code, it's > better to have others to follow him than force him to use some random > style because people don't like it. > > The funny thing about this is that the majority of the people that > complain do the minority of the code :-/ And no, saying one does not > write code because of the style is not a valid option. :-D > > BR, > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel