In addition to @dnolen's answer, I usually add a new line when there is
- new function (e.g. your first two lines)
- to defer a long or important function argument (e.g.
cond block) - logically save each line to less than 80 characters and split long ideas into smaller pieces.
- The most important thing is to be consistent!
Then just align and indent so that the identifiers are the same code depth.
Paul lam
source share