clojure-uk

A place for people in the UK, near the UK, visiting the UK, planning to visit the UK or just vaguely interested to randomly chat about things (often vi and emacs, occasionally clojure). More general the #ldnclj
jiriknesl 2020-09-23T04:38:15.000200Z

Hi folks

mccraigmccraig 2020-09-23T06:26:53.000800Z

mรฅnmรฅn

dharrigan 2020-09-23T06:53:04.001Z

Good Morning!

thomas 2020-09-23T07:19:28.001200Z

moin moin

alexlynham 2020-09-23T09:14:12.001300Z

morning

jiriknesl 2020-09-23T10:16:12.002400Z

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. ๐Ÿ™‚

mccraigmccraig 2020-09-23T10:50:53.004Z

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?

๐Ÿ‘ 1
thomas 2020-09-23T11:40:38.005600Z

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.

thomas 2020-09-23T11:41:28.006400Z

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

dharrigan 2020-09-23T12:09:32.006600Z

Saying hello is nice ๐Ÿ™‚

2020-09-23T13:34:39.007Z

Morn'

Adrian Smith 2020-09-23T16:31:14.007700Z

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

seancorfield 2020-09-23T16:39:55.008500Z

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

Adrian Smith 2020-09-23T16:44:09.009300Z

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

2
dharrigan 2020-09-23T20:51:55.011400Z

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?

dharrigan 2020-09-23T21:00:50.011800Z

I go for my daily repose now. will check on this tomorrow ๐Ÿ™‚

seancorfield 2020-09-23T22:16:10.013300Z

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->).

๐Ÿ‘ 2
โ˜๏ธ 1
seancorfield 2020-09-23T22:17:19.014800Z

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 ๐Ÿ™‚

dharrigan 2020-09-24T07:58:27.003300Z

never even considered using sut as an alias ๐Ÿ™‚

seancorfield 2020-09-24T15:39:27.011100Z

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.

mccraigmccraig 2020-09-23T22:31:30.015800Z

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