@otfrom Alright, Iโll bite. No, what do you mean?โฆโฆ
morning
@otfrom Youโre not referring to my Tess Daly cosplay costume, I thought we agreed you were never going to mention that ๐
good morning!
@jasonbell https://www.radiotimes.com/news/tv/2020-09-02/jason-bell-strictly-come-dancing-2020-contestant/
Morning
Wooohooo @jasonbell on Strictly!!!! I'll vote for that!
morning btw
@otfrom I am aware of him, but was not aware that heโs in the UK making an idiot of himself.
that is your job? isn't it?
@thomas you may well be wasting your money.
it would be a good cause!
Two left feetโฆ.. https://www.youtube.com/watch?v=DC_PACr5cT8
Morning
late morning
morning
howdy
fun Friday subject ... who thinks clojure.string/starts-with?
which takes two args: s substr
has those args in the right order? I don't know but I always get it wrong. So maybe I do know.
that is the correct way around as it is like all the other things that go nicely with ->
I read it as "does s start with substr"
I think my only annoyance with the ->
friendly functions is that they don't play well with partial, and I like partial
(partial to partial
?)
very partial
personally, not sure that ->
should drive all API design
positional args are deprecated man
is that what clj-kondo
reports these days?
don't tempt me
->
->>
and transducers would like to disagree
@otfrom if everyone conformed to map in and map out we would only need ->
and not ->>
or confusing combinations thereof ;)
I'm only half joking, using maps for every function call would probably be costly
๐
map in/out everywhere leads to global state, just in a map instead of at the ns-level. That's only barely better than global state.
I assume it was a joke, who would do it for real?
Goodnight
(defn is-borkdudes-idea-sane?
([] (is-borkdudes-idea-sane? {}))
([{:keys [sane?] :or {sane? true}}]
sane?))
=> #'user/is-borkdudes-idea-sane?
(is-borkdudes-idea-sane?)
=> true