r/Clojure • • May 24 '17

Readable Clojure

http://tonsky.me/blog/readable-clojure/
94 Upvotes

31 comments sorted by

View all comments

1

u/ferociousturtle May 25 '17

Copying my comment over from HN, as this feels like the better place to ask... These feel like things that a linter could check and a Gofmt-like tool could do. Has anyone here used such tools? A quick Google turned up these options:

I'm curious what the folks here in /r/clojure recommend.

3

u/bbsss May 25 '17

https://github.com/jonase/eastwood

And joker as you mentioned is a new one to the stage, still need to give them all a shot so no real opinion :).

2

u/facundoolano May 25 '17

I agree these ideas would totally make an interesting linter. I don't think it fits with the ones around though, joker I've found to be very useful but it's more about catching errors like missing parameters, undefined or unused vars, not idioms. The same goes more or less for eastwood. The rules suggested by the author are much more opinionated and arguable.