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.

> 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

Reply via email to