5 ms·
Clojure has line comments as well.
by Skinney 6y ago
Clojure has line comments as well.
- Groxx 6y agoAh, derp, that'd just be the `;` then? So you could do this? ;(if (cond) thing ; other) If yes: great! The best of both worlds.
- anamexis 6y agoYes, you could. Also, most lisp/clojure editing modes will have commands for manipulating S-expressions, such as slurp and barf, which make it a single shortcut to move `thing` out of the `if` expression in your example.