Fork me on GitHub
#clojure-europe
<
2022-03-02
>
pez07:03:22

Morning! If someone has some time to pair code with me today on the Calva structural editor, that would be awesome. 😃 (DISCLAIMER: Data mutation de-lux)

❤️ 1
😍 1
Jakub Holý (HolyJak)10:03:40

That would be wonderful, it just doesn't suit me today 😭

pez12:03:58

It was with very short notice. On a whim. But we can try make it happen some day soon!

🙏 1
dharrigan08:03:07

Good Morning!

mccraigmccraig08:03:26

soggy måning!

🥳 1
otfrom08:03:29

that tree has made a mess of that stile

mccraigmccraig08:03:24

sure has... that tree survived the storms last week, but yesterday's rain must have been the final straw 🐪

otfrom08:03:24

I think there are a lot of trees like that atm. It won't take a big storm to knock them over as they are already on a shoogly peg

slipset09:03:01

Morning!

👋 1
reefersleep09:03:01

Sounds good! Also because of the literals. I recently went back to do some vanilla js and was mildly shocked that there’s no map literal.

reefersleep09:03:37

(also culture shocked due to other things, mind you 🙂 )

borkdude09:03:18

We will probably see a data reader or so to construct these things in CLJS

pez09:03:48

@U0AQ3HP9U There are object literals, right?

reefersleep09:03:42

@U0ETXRFEW yes, {'k1': 'v1', 'k2': 'v2'} is an object (and not a map, as I initially thought 😅)

reefersleep09:03:11

Just look at those redundant :s and ,s. Tch tch

pez09:03:23

Regarding the article, it is a bit interesting to see ”The main use case” being described as value comparison. I mean that is a sweet, sweet thing, but there's more to it, I think.

pez10:03:47

Add some likes to my comment on the article, maybe?

slipset09:03:40

Of course, never mind the sets 😕

genRaiy10:03:39

good morning

pez10:03:47

Add some likes to my comment on the article, maybe?

simongray17:03:05

Feels bizarre to now have recurring war news before the regular evening news.

dharrigan20:03:47

Which do people prefer for formatting source code on the command line, cljformat/zprint/a.n.other?

mpenet07:03:11

cljfmt if you have to do it on the cli. Personally I just have a before-save-hook that does this via clojure-lsp (via cljfmt)

mpenet07:03:26

zprint does some weird stuff in my experience, at least in my case I couldn't configure it to match the way I write code (which is quite "normal", follows style guide etc)

mpenet07:03:54

there's also a fork of cljfmt out there, but I never bothered testing it

dharrigan07:03:34

I had a look at cljfmt, and maybe I'm wrong, but is there a way to set a "global" inner and/or block? It seemed that I would have to redefine for each form, i.e., (defn [[:inner 1]]) and so on