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
dharrigan 2020-08-11T07:16:19.292500Z

Good Morning!

djm 2020-08-11T07:20:49.292700Z

👋

Jakob Durstberger 2020-08-11T07:34:37.292900Z

Morning 🙂

dominicm 2020-08-11T08:03:00.293100Z

Morning

alexlynham 2020-08-11T08:06:00.293200Z

morning

dharrigan 2020-08-11T09:44:57.293500Z

I really do enjoy using the cognitect aws library

dharrigan 2020-08-11T09:45:08.293700Z

easy to use 🙂

dominicm 2020-08-11T12:34:36.294700Z

I thought the lack of functions would be an annoyance tbh. I'd love to know the rationale in the fullest.

2020-08-11T12:38:44.296800Z

I’ve used the lib myself, it is really good, and there are definite benefits to the design; but yes the lack of functions were a bit annoying. I found you had to use the repl doc functions a lot to inspect the docs, rather than just being able to browse them

dominicm 2020-08-11T12:40:53.298800Z

Right, I guess it's optimized for a repl workflow, rather than a cider/tooling one.

2020-08-11T12:41:46.299600Z

well they’ve invented their own way of accessing docs — mostly driven by spec; which is fine… but unfortunately specs doc story isn’t great at the minute.

2020-08-11T12:45:41.301900Z

didn't they just try to be as thin a wrapper as possible

2020-08-11T12:45:59.302400Z

that way when AWS change the js specs

2020-08-11T12:46:15.302900Z

they still work (as much as possible)

2020-08-11T12:47:58.304600Z

I do sometimes wish clojure had better doc tooling for APIs etc. There are a bunch of things that don’t have a native uniform way to document in particular namespaced keywords and specs, but also a few other things that might at times be handy… - deftypes/records - defmethod implementations (contributing docs to the defmulti) Admittedly the later ones are perhaps a bit more controversial but would at times I think be useful. Though hard to know how they’d implement docs for deftypes/records; and the work arounds are sufficient.

dominicm 2020-08-11T12:48:09.305Z

I suppose you don't get a compiler error, you get something else instead?

2020-08-11T12:50:01.305300Z

yes they did — not critcising what they’ve done, it is really good… just noting a consequence of it.

2020-08-11T12:50:26.305700Z

yeah you essentially get a spec error iirc