r/Clojure • • May 24 '17

Readable Clojure

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

31 comments sorted by

View all comments

Show parent comments

3

u/[deleted] May 25 '17

Ruining a 'git blame' when you're trying to track down the origin of a bug? Priceless. I've maintained code recently in a language whose linter enforces this kind of alignment, and I ran into this problem at least once a week. Everybody who worked in that language and also in Clojure would tell you the same thing.

3

u/[deleted] May 25 '17

Oh, and don't forget code reviews. Hit that one at least once a day. Which meant that I'd need two github windows open, one with ?w=1 to show the real diff, and another to show the one with mostly white space changes where I could leave comments. It's not even close to worth it.

3

u/[deleted] May 25 '17

(I apologize for being cranky, it's not at you. Dealing with these issues was very frustrating, and remembering it got me kind of worked up)

5

u/saint_glo May 25 '17

I wonder if we'll live to see the day when diffs would be semantic: what changed in the AST instead of what changed in the bytes.