- Notifications
You must be signed in to change notification settings - Fork283
Open
Labels
Description
By my reading ofhttps://github.com/bbatsov/clojure-style-guide#vertically-align-fn-args, we should indentif
like so:
(if condition (f1) (f2))
...but that's contradicted by other examples in the guide, which use the common two-space indentation forif
. Technically the rule might not coverif
since it's a special form and not a macro, but there's alsoif-let
andif-some
and it would be very weird IMO to indent them differently. It would be good to mention this explicitly, even if just to call outif
and friends as exceptions.
(I searched for existing issues covering this, but the closest I found was#87.)