On Thu, 10 Mar 2016 22:22:13 +0900 (KST) Hermet Park <her...@hermet.pe.kr> said:
> efl already has a rule to have 3 spaces for edc and code. > > I don't think there is any necessities to have one more rules. :( that is for efl's own code. it is the code formatting of a specific project. we are discussing formatting rules applied to everyone using this tool/file format. > -----Original Message----- > From: "Carsten Haitzler"<ras...@rasterman.com> > To: "Enlightenment developer > list"<enlightenment-devel@lists.sourceforge.net>; Cc: > Sent: 2016-03-10 (목) 21:44:20 > Subject: Re: [E-devel] UI syntax, letter 2 > > On Thu, 10 Mar 2016 07:51:01 +0100 Simon Lees <sfl...@suse.de> said: > > > > > > > On 03/10/2016 02:14 AM, Carsten Haitzler (The Rasterman) wrote: > > > On Wed, 9 Mar 2016 15:44:57 +0100 Simon Lees <sfl...@suse.de> said: > > > > > >> > > >> > > >> On 03/09/2016 08:29 AM, Carsten Haitzler (The Rasterman) wrote: > > >>> On Wed, 9 Mar 2016 17:08:54 +1000 David Seikel <onef...@gmail.com> said: > > >>> > > >>>> On Wed, 9 Mar 2016 15:39:45 +0900 Carsten Haitzler (The Rasterman) > > >>>> <ras...@rasterman.com> wrote: > > >>>> > > >>>>>> * fixed indentation (4 spaces) or not fixed > > >>>>> > > >>>>> i personally think 2 spaces is fine. 4 is just "too much". the reason > > >>>>> is most monospace fonts are taller than they are wide so "2" ends up > > >>>>> a nice diagonal like: > > >>>> > > >>>> Aren't you the guy that made 3 space indenting the standard around > > >>>> here? ;-P > > >>> > > >>> :-P~ > > >> > > >> Well 4 is what most of the civilized world has agreed / standardized on > > >> so I guess its not going to be that :P > > >> > > >> On a more serious note, as someone who's brain is more visual spacial > > >> oriented and much prefers and finds it much easyer to look at shapes and > > >> colors rather then a wall of text 4 is significantly easier to read but > > >> if were going to keep doing the crazyness of indenting braces then 2 is > > >> fine because it really ends up being 4 ie > > >> > > >> if (bob.isABogan()) > > >> { > > >> doSomething(); > > >> } > > >> > > >> is pretty similar to what a "Normal person" would do > > >> > > >> if (bob.isABogan()) > > >> { > > >> doSomething(); > > >> } > > > > > > since there are no {}'s then you end up with (with 4 spaces): > > > > > > blahblah(xxx) > > > blah2whatever(yyy) > > > blah3boo(zzz) > > > wootwoot(x) > > > boobooboo(7) > > > weee(y) > > > abracadabra(hey) > > > > > > with 2 it just looks nicer: > > > > > > blahblah(xxx) > > > blah2whatever(yyy) > > > blah3boo(zzz) > > > wootwoot(x) > > > boobooboo(7) > > > weee(y) > > > abracadabra(hey) > > > > > > each indent comes out at a "visually" approximate 45 degrees due to > > > general font sizing. also it's far nicer on the typer if they have to > > > indent - hit space twice not 4 times. sure you COULD modify your editor > > > to make tab == 4 spaces and force that BUT then you break your editor for > > > the rest of the unix world that has agreed on tab == 8 spaces. windows > > > thinks tab == 4 spaces. so - make people hit space 4 times instead of 2? > > > why? that's a bit silly. > > > > Normally people don't hit space 4 times, normally they have there editor > > configured so that the tab key inserts 4 spaces rather then a \t :) > > that is what i said.. and they have it configured to 8 spaces because that is > the standard (except on windows), so they have to reconfigure their editor > JUSt for this... or they have fucked up tab sizes as now tab != 8 spaces for > many documents... so they are going to be stuck really hitting space 4 times > or dealing with the above pain. > > > Is the following still legal syntax, as I find that much easier to read > > (Not sure if i'll ever have to read / write it though. > > > > blahblah(xxx) > > > > blah2whatever(yyy) > > blah3boo(zzz) > > > > wootwoot(x) > > boobooboo(7) > > weee(y) > > > > abracadabra(hey) > > > > > > > >> 3 just messes with the musician in me that likes everything in multiples > > >> of 4. > > >> > > >> Cheers > > >> Simon > > >> > > >>> > > >>>> Though I agree, two spaces is what I prefer. > > >>>> > > >>>> -- > > >>>> A big old stinking pile of genius that no one wants > > >>>> coz there are too many silver coated monkeys in the world. > > >>> > > >>> > > >> > > >> ------------------------------------------------------------------------------ > > >> Transform Data into Opportunity. > > >> Accelerate data analysis in your applications with > > >> Intel Data Analytics Acceleration Library. > > >> Click to learn more. > > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > >> _______________________________________________ > > >> enlightenment-devel mailing list > > >> enlightenment-devel@lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > >> > > > > > > > > > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel