Empty loops with nested when can be while
.
Examples:
; bad (loop [] (when (some-func) (println 1) (println 2) (recur)))
; good (while (some-func) (println 1) (println 2) (recur))
Empty loops with nested when can be `while`. Examples: ; bad (loop [] (when (some-func) (println 1) (println 2) (recur))) ; good (while (some-func) (println 1) (println 2) (recur))
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 |