On Mon, May 09, 2011 at 10:25:27PM +0900, Alex Shinn wrote:
> On Thu, May 5, 2011 at 7:18 PM, Peter Bex <peter....@xs4all.nl> wrote:
> >
> > With Lisp/Scheme code, the only sensible indentation style really is
> > spaces.  With braces-like languages like C it makes sense to use tabs
> > if used consistently, but even there it's a good source of flamewars.
> 
> You get exactly the same problem in C with nested function
> applications:
> 
>   foo(some_long_function_call1(...),
>         some_long_function_call2(...),
>         ...);

Yeah. You can still use tabs to align things within block though!
To get completely consistent results you'd need to indent using tabs
up till you're aligned with foo and use spaces to indent the arguments.

I think the TabsAreEvil page describes this too.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to