> In a simple 2-way branch, I try to cuddle the condition right after "if" > where possible: > . if iso(1 {x % 2}) > . . 'odd > . . 'even
Yes, I don't use the :else in that case either. --- Your other options are fine at the start, but they get ugly as the tests and/or branches get more complex. I don't see how you can say these cases are "easy" when you think (* a (+ b c)) is suboptimal :) As the expressions grow complex, either the tests and branches become harder to visually separate, or we have to do more work to keep two columns lined up, etc. Even the examples of cond in lisp-hints.txt are kinda all smushed together compared to say the explicit block delimiters that non-lispers are used to. The problem is a fundamental one: we're interleaving expressions with very different semantics. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss