Fork me on GitHub
#clojure-europe
<
2021-08-20
>
dharrigan06:08:27

Good Morning!

pez06:08:23

Good morning. Day 5 of lowering those thresholds for beginners. Yesterday, late, I released the first version of an experience to learn Clojure the REPL-driven way without installs. See #announcements about it. Today’s ask is that if you could be so kind as to upvote this HN thread: https://news.ycombinator.com/item?id=28243234 🙏 ❤️

reefersleep07:08:01

Good morning 🙂

maleghast08:08:13

Interesting start - I look forward to the next instalment 😉

dominicm08:08:21

As author of clip, looking forward to this 😄

dominicm08:08:35

clip aimed to make the 116 components thing easier to wrangle.

slipset11:08:31

My aim is to get those 116 components down to the few that actually holds state 🙂

genRaiy15:08:05

re component, the keyword for me is "framework" :)

Ed15:08:03

Good read ... I too have "opinions" on things like component ... looking forward to part 2 😉

seancorfield16:08:03

We use Component in two very distinct ways at work too. The classic "runtime state + lifecycle" way and the "inject just the things this function/handler needs" way. I hadn't thought of using it that second way until my colleague joined, but he strongly favors that as a way to ensure Ring handlers (specifically) have exactly the parts of the system they need -- whereas I would have just injected the whole system with middleware.

seancorfield17:08:37

His argument is that there is then a declarative way to see which handlers use the database, which use redis, which use our presence subsystem and so on, because we set up a Component for each handler (and many of them have only minimal dependencies -- which is good and clear to see). I think it adds quite a bit of boilerplate and if you add/update code in a way that uses a component, you always have to go "elsewhere" to check whether the dependency is already present or not 😐

dominicm19:08:41

@U04V70XH6 Hiredman's suggestion of that is exactly why I made clip 😉

thomas08:08:38

TGIF!

💯 3
maleghast08:08:27

(especially as I am not working today)

maleghast08:08:53

(well except for this one half-hour meeting now-ish)

pez13:08:13

This was so valuable, you can’t start to believe it. Such a great Friday!