Sean Corfield

Results 232 comments of Sean Corfield

I don't think I've ever heard anyone advocate for this so I wouldn't say it was "widely-agreed" . Looking at our 140k lines of Clojure, I see just 4 occurrences...

FWIW, I don't really agree with the _existing_ `if-not` and `when-not` guidelines -- I think they're already over-proscriptive (because of the "intention preference" I mentioned above). Given the presence already...

I don't find anything wrong with 2. and it has specific benefits in many languages because having the constant first avoids this error: ``` if ( x = 2 )...

While I'm strongly in favor of `?` on predicate functions -- and those should return only `true` or `false` -- I am against it on keywords for readability and because...

There are definitely pros and cons to having the (community) style guide incorporated in some form into clojure.org's content. Pros: * It would likely stop a lot of the "how...

@daveliepmann Brings up an interesting point: I think Rich is on record as saying he favors anonymous functions over `partial` (although searching for that discussion is eluding me right now)...

Fair enough @bbatsov the perceived size may indeed be due to the increase in formatting and the addition of examples and explanation text. I used to write coding standards for...

Sure. I'd love to help if you're happy to have someone this opinionated 😁

I think it would be very helpful to introduce a "summary" section at the front which is essentially just a bullet-point list of all the guidelines which would allow readers...

Or, you know, Eastwood could use the _actual_ declared argument list for arity checking, like `clj-kondo` does which would obviate the need for all that custom config that Eastwood has...