Skip to content

Commit 5f5e727

Browse files
committed
Merge pull request bbatsov#101 from llasram/dot-dot
No evidence for preferring `..` to `->`.
2 parents b8b8140 + 0cc9442 commit 5f5e727

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -870,18 +870,6 @@ pairwise constructs as found in e.g. `let` and `cond`.
870870
(filter even? (range 1 10)))
871871
```
872872

873-
* <a name="dot-dot-macro"></a>
874-
Prefer `..` to `->` when chaining method calls in Java interop.
875-
<sup>[[link](#dot-dot-macro)]</sup>
876-
877-
```Clojure
878-
;; good
879-
(-> (System/getProperties) (.get "os.name"))
880-
881-
;; better
882-
(.. System getProperties (get "os.name"))
883-
```
884-
885873
* <a name="else-keyword-in-cond"></a>
886874
Use `:else` as the catch-all test expression in `cond`.
887875
<sup>[[link](#else-keyword-in-cond)]</sup>

0 commit comments

Comments
 (0)