Why doesn’t clojure follow the most common indentation style in Java code?

I look at the Java code in clojure I find indentation strange to me

I'm used to it http://www.oracle.com/technetwork/java/javase/documentation/codeconventions-136091.html#262 Indent style for Most ides configure automatic formatting in this way Why doesn't clojure follow this style?

to update:

I mean the clojure part implemented in Java, such as https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/ARef.java

Solution

The code you reference is indented with whitesmiths style braces

It's a matter of personal preference There's nothing wrong, except that it's not common

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>