This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-01
Channels
- # adventofcode (93)
- # announcements (44)
- # asami (23)
- # aws (1)
- # babashka (48)
- # beginners (112)
- # calva (26)
- # cider (57)
- # clj-kondo (17)
- # cljfx (5)
- # cljs-dev (21)
- # clojure (124)
- # clojure-europe (19)
- # clojure-hungary (40)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (3)
- # clojurescript (3)
- # cursive (81)
- # datalog (11)
- # events (21)
- # exercism (1)
- # fulcro (37)
- # graalvm (1)
- # introduce-yourself (8)
- # jobs (1)
- # lsp (1)
- # malli (5)
- # membrane-term (17)
- # minecraft (3)
- # nextjournal (5)
- # off-topic (14)
- # other-lisps (14)
- # polylith (58)
- # reagent (16)
- # reclojure (3)
- # reitit (6)
- # remote-jobs (1)
- # shadow-cljs (55)
- # spacemacs (15)
- # testing (2)
- # tools-build (7)
- # tools-deps (191)
one man’s !@#$ is another man’s gold 🙂 I love it!
Windy, snowy (sludgy), dark, cold. Mmmm cosy ☕
The whole point is to stay in and drink hot beverages, so I’ll continue doing that rather than venture anywhere 🙂
At least it’s the internet age. Imagine being stuck at home in weather like this and having no internet! No thanks
And our kids will be like “Ugh, how did our parents live without holonet? They had to sit completely isolated in their homes and type text with a keyboard ”
(->> "good morning"
seq
shuffle
(apply str))
=> "nrgomgd ioon"
Better than your average ioon.Once again I am fed up with Vim and trying out VSCode. Then I use the neovim extension inside it because otherwise my fingers just type nonsense 🙂
Morning! So, TypeScriptReport (TSR) of the day. I consider myself a Clojure programmer, and as such, one would expect that I was ok with wrangling parens. Turns out I’m not. When writing TS (in vscode) without paredit, I constantly mess up the various parens, and, man have they made it difficult for themselves. Where we generally just need, if you’ve messed up, to sprinkle a couple of )
to balance stuff out, in TS you need to interleave the )
s with }
s. It’s very frustrating I can tell you.
I feel ya. What I tend to do is use move-to-matching-bracket a lot (ctrl+alt+cmd+7 on my machine), and also to first create the structure and then move code in there. So the latter… Say I’m providing a function as a parameter, I then type
(foo) => {
|
})
So that I don’t have to later figure out how to close it. The auto-formatter is pretty smart so if you move some code into there (using alt+up/down
for instance, it will reindent it as long as the structure is healthy.