Fork me on GitHub
#cider
<
2016-01-19
>
sonelliot02:01:15

@malabarba: Thanks for the tip! I've set it up and it works a treat. Thankyou. :thumbsup:

juhoteperi17:01:40

@bozhidar: What's best place to discuss about style-guide? I would like to hear reasons behind single space indent for functions and hearing what's public opinion on that. I don't see it used much.

bozhidar17:01:06

PRs are generally a good idea

bozhidar17:01:16

I mean tickets

bozhidar17:01:26

but I don’t mind chatting about it

bozhidar17:01:16

(ala
 bala
 portokala)

bozhidar17:01:23

are you referring to this?

bozhidar17:01:50

well, this is pretty simple

bozhidar17:01:03

you have a list and all its items are aligned

bozhidar17:01:12

this has been the accepted style in every Lisp

bozhidar17:01:19

for decades now

bozhidar17:01:57

and it’s not a rule we can really change as there is so much Clojure code abiding by this rule

bozhidar17:01:13

frankly, I’ve never seen anyone indent such code differently

bozhidar17:01:20

but I’m guessing some people do simple_smile

juhoteperi17:01:15

I'm not sure about Lightable but Vim and Cursive indent always with 2 spaces

bozhidar17:01:38

well, that’s a really odd decision

bozhidar17:01:46

I see no benefits of using a double indentation

bozhidar17:01:01

and I’m also wondering why they figured that’s a reasonable default

juhoteperi17:01:36

Also both book mentioned in style-guide indent such cases with 2 spaces (though there is not many such cases and they have quite many errors with indentation)

juhoteperi17:01:49

Way I see it, it would be simpler to just indent everything with 2 spaces by default instead of specifying that macros with body are indented with 2 spaces and other stuff with single space.

juhoteperi17:01:10

Though this wouldn't be problem if all editors had same defaults and libraries used indent metadata. But I doubt Cursive and Vim are going to change the defaults in this.

juhoteperi18:01:47

I created an issue for dicussion