This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-25
Channels
- # announcements (9)
- # aws (50)
- # babashka (7)
- # beginners (95)
- # calva (10)
- # chlorine-clover (17)
- # cljdoc (11)
- # cljs-dev (4)
- # cljsrn (6)
- # clojars (25)
- # clojure (74)
- # clojure-belgium (4)
- # clojure-dev (17)
- # clojure-europe (3)
- # clojure-italy (23)
- # clojure-nl (3)
- # clojure-norway (5)
- # clojure-sanfrancisco (30)
- # clojure-spec (46)
- # clojure-uk (27)
- # clojured (3)
- # clojurescript (91)
- # core-async (61)
- # cursive (3)
- # data-science (4)
- # datascript (7)
- # datomic (67)
- # emacs (15)
- # events (1)
- # figwheel-main (13)
- # fulcro (31)
- # graalvm (1)
- # graphql (3)
- # hoplon (2)
- # jobs (3)
- # jobs-rus (1)
- # kaocha (4)
- # lambdaisland (34)
- # luminus (4)
- # off-topic (62)
- # om (4)
- # other-languages (9)
- # re-frame (14)
- # reitit (1)
- # ring-swagger (1)
- # shadow-cljs (51)
- # sql (5)
- # xtdb (8)
two more lambdaisland libraries are in early access, lambdaisland.fetch
and lambdaisland.edn-lines
nice! jet also plays nice with ednl: https://github.com/borkdude/jet#streaming
especially: > write patches that solve a problem. Start by stating the problem, then supply a minimal solution.
this is inspired by C4 https://hintjens.gitbooks.io/social-architecture/content/chapter4.html
link doesn't work for me, but that idea appeals to me. generally I'm not so much interested in PRs that just shuffle some code around because of subjective style, or add things that have no clearly agreed upon rationale
strange... how about this one? http://rfc.zeromq.org/spec:42
I disagree with a couple of things with the lambdaisland style guide, but that's ok 😉
I try not to bikeshed, unless I can explain why something is obviously better (for performance, or otherwise).
e.g. the merge
instead of doing the reader-time map conditional I wouldn't do, because I prefer to have a read-time map instead of a run-time merge
btw, if you're looking for the successor of rewrite-clj, it will probably be this one: https://github.com/lread/rewrite-cljc-playground
I'm already using it in some projects and so far I haven't heard any complaints... (fwiw)
I'll be very happy to drop that recommendation when more tools have upgraded. It's just something that has bitten me more than once.
I tend to go with the "how to ns" guidelines from Stuart Sierra: https://stuartsierra.com/2016/clojure-how-to-ns.html - there's also linters for that one, but some of the things in your style guide contradict these - which is OK, everyone is entitled to their own taste and linters are configurable 🙂
which parts contradict? on a quick scan I seem to be largely in agreement with that one, except for the line break after :require
etc
yes, that one. and an exception for :refer :all
for clojure.test. I tend to write :refer [deftest is testing]
which suffices I think 99.9% of the code I've written
technomancy (lein) tried to get this into clj-kondo as an exception, but I refused 😆
CLJS doesn't even accept :refer :all
so also in that regard it would just be better to just always skip it and have the same style on each platform
As I said, not going to engage on these topics. We really have better things to spend our time on 🙂