[racket] Control indentation

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sun Nov 6 08:57:09 EST 2011

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.
-- 
sam th
samth at ccs.neu.edu



Posted on the users mailing list.