Fork me on GitHub
#clojure-uk
<
2019-12-28
>
dominicm08:12:33

Kotlin seems pretty light on syntax. I was expecting more Java like.

dominicm08:12:06

Although I have immediately encountered the fact that strings are templates against the context implicitly, which I don't like.

Conor10:12:26

Really? I find it pretty handy not to have to do format shenanigans

dharrigan10:12:45

@dominicm are you referring to string interpolation?

dharrigan10:12:47

I find string interpolation exceedingly handy

dharrigan10:12:24

Sometimes, it's something I wish Clojure would have directly - I know there's a contrib library for it, but having some type of interpolation would be great in Clojure.

Gulli12:12:49

@dharrigan Clojure has format. Or do you mean you wish Clojure had it's own implementation of it (rather than relying on java.lang.String)?

dominicm13:12:25

I like interpolation. I don't like the fact it's based on var scope rather than a custom scope.

mccraigmccraig13:12:49

i used cemerick's strint lib on a previous project... it was ok, but i didn't like it enough to continue using it on my current project