[racket] Control indentation

From: José Lopes (jose.lopes at ist.utl.pt)
Date: Mon Nov 7 02:06:38 EST 2011

Thank you for your input.

On domingo, 6 de Novembro de 2011 21:57:09, Sam Tobin-Hochstadt wrote:
> 2011/11/6 José Lopes<jose.lopes at ist.utl.pt>:
>>
>> Changing the default indentation is considered a good practice? I mean to
>> enforce to others users?
>> Or is it preferable to leave indentation as is.
>
> If you introduce a new form using macros, it's often useful to come up
> with an indentation rule for it.  Almost always, one of the rules you
> can choose from in DrRacket is fine.
>
> Matthias is right, though, that you shouldn't change how existing
> constructs are indented, because that makes your code harder to read
> by other people.  This includes "function application", which is I
> think what you're encountering here.

-- 
José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lopes at ist.utl.pt



Posted on the users mailing list.