Fork me on GitHub
#clojure-europe
<
2020-09-04
>
jasonbell06:09:52

@otfrom Alright, I’ll bite. No, what do you mean?……

jasonbell07:09:39

@otfrom You’re not referring to my Tess Daly cosplay costume, I thought we agreed you were never going to mention that 🙂

synthomat07:09:14

good morning!

thomas07:09:31

Wooohooo @jasonbell on Strictly!!!! I'll vote for that!

thomas07:09:48

morning btw

jasonbell07:09:50

@otfrom I am aware of him, but was not aware that he’s in the UK making an idiot of himself.

thomas07:09:11

that is your job? isn't it?

jasonbell07:09:21

@thomas you may well be wasting your money.

thomas07:09:34

it would be a good cause!

slipset07:09:23

late morning

genRaiy11:09:28

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.

otfrom11:09:19

that is the correct way around as it is like all the other things that go nicely with ->

😮 3
dominicm12:09:10

I read it as "does s start with substr"

otfrom13:09:38

I think my only annoyance with the -> friendly functions is that they don't play well with partial, and I like partial

otfrom13:09:53

(partial to partial?)

genRaiy14:09:53

very partial

genRaiy14:09:08

personally, not sure that -> should drive all API design

borkdude14:09:33

positional args are deprecated man

😝 3
genRaiy14:09:07

is that what clj-kondo reports these days?

borkdude14:09:30

don't tempt me

😈 3
otfrom14:09:51

-> ->> and transducers would like to disagree

borkdude16:09:45

@otfrom if everyone conformed to map in and map out we would only need -> and not ->> or confusing combinations thereof ;)

borkdude16:09:18

I'm only half joking, using maps for every function call would probably be costly

dominicm16:09:03

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.

genRaiy19:09:08

I assume it was a joke, who would do it for real?

genRaiy19:09:55

Goodnight

❤️ 6
genRaiy23:09:34

(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