| Enabled | Added |
|---|---|
| true | 0.1 |
Functions that return a boolean should end in a question mark.
Doesn't verify the kind of function, just checks for anti-patterns in the names.
# bad
(defn palindrome-p ...)
(defn is-palindrome ...)
# good
(defn palindrome? ...)
| Enabled | Added |
|---|---|
| true | 0.1 |
Records should use PascalCase.
# bad
(defrecord foo [a b c])
# good
(defrecord Foo [a b c])
Can you improve this documentation?Edit on GitHub
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 |