It's nice when the default branch is consistent.
Examples:
; bad (cond (< 10 num) (println 10) (< 5 num) (println 5) true (println 0))
; good (cond (< 10 num) (println 10) (< 5 num) (println 5) :else (println 0))
It's nice when the default branch is consistent. Examples: ; bad (cond (< 10 num) (println 10) (< 5 num) (println 5) true (println 0)) ; good (cond (< 10 num) (println 10) (< 5 num) (println 5) :else (println 0))
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |