Fork me on GitHub
#clojure-uk
<
2020-09-23
>
dharrigan06:09:04

Good Morning!

jiriknesl10:09:12

I have started greeting also in #clojure-czech (country of my origin) and as the channel is basically dead, one folk told me today if that’s some kind of experiment to greet daily when there’s nothing else going on. 🙂

mccraigmccraig10:09:53

someone did some crunching on the slack history a while back @jiriknesl, which seemed to show that the location-specific channels where regular greetings were exchanged were by far the most active - uk and i think nl @thomas?

👍 3
thomas11:09:38

yes, the #clojure-nl one was quiet for a while and then I started saying hello each morning and other people joined. And occasionally we get a bit more traffic now. It feels a bit more as a community now IMHO.

thomas11:09:28

and we started doing that on the Europe one as well a few(?) years ago and that gets more traffic as well now a days

dharrigan12:09:32

Saying hello is nice 🙂

Adrian Smith16:09:14

Bristol's online meetup in half an hour: https://www.meetup.com/Bristol-Clojurians/events/ndhzsrybcmbfc/ (zoom will be posted in comments shortly before)

seancorfield16:09:55

@sfyire Is it just a group coding meetup or is there usually a talk?

Adrian Smith16:09:09

Usually it's a semi structured tutorial through Fulcro, show and tell + general chat last week it was a talk for reasons that are hard to explain

6
dharrigan20:09:55

What's the consensus here, when requiring a namespace containing functions you need, do you refer to the functions you will use, or just do :as then use the namespace alias. If doing refer is there a limit before you switch to doing :as?

dharrigan21:09:50

I go for my daily repose now. will check on this tomorrow 🙂

seancorfield22:09:10

I nearly always just :as and use an alias. I only :refer in things where the syntax looks weird with an alias, so that's def* things and syntax-like functions/macros (`->long`, condp->).

👍 6
☝️ 3
seancorfield22:09:19

Even in tests I pretty much always :refer sut for the namespace that is being tested (System Under Test) although I do :refer [deftest testing is] from clojure.test because (test/deftest ... (test/is ...)) is weird-looking 🙂

codeasone04:09:15

👍 or (subject under test) more generally

3
dharrigan07:09:27

never even considered using sut as an alias 🙂

seancorfield15:09:27

I ran across it decades ago in OOP docs about unit testing where they would often do the equivalent of sut = new whatever.class.is.BeingTested(); and then do all the tests against this sut object.

mccraigmccraig22:09:30

same as @seancorfield here... mostly :as with very common syntax-like things :referred