This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-25
Channels
- # aws (2)
- # aws-lambda (2)
- # beginners (95)
- # boot (47)
- # cider (13)
- # clara (5)
- # cljs-dev (36)
- # cljsjs (9)
- # clojure (51)
- # clojure-austin (1)
- # clojure-greece (25)
- # clojure-italy (4)
- # clojure-japan (10)
- # clojure-russia (13)
- # clojure-spec (61)
- # clojure-uk (25)
- # clojurescript (26)
- # core-matrix (5)
- # cursive (8)
- # data-science (7)
- # datomic (43)
- # dirac (2)
- # emacs (8)
- # events (3)
- # fulcro (17)
- # graphql (29)
- # jobs-rus (4)
- # lambdaisland (4)
- # lein-figwheel (3)
- # leiningen (60)
- # luminus (15)
- # lumo (8)
- # mount (3)
- # off-topic (28)
- # om (22)
- # onyx (115)
- # other-languages (6)
- # pedestal (5)
- # re-frame (41)
- # reagent (12)
- # ring-swagger (12)
- # shadow-cljs (127)
- # unrepl (27)
- # yada (5)
I have mixed feelings about kotlin, I read that same book, kicked tires and all. On paper it does look nice, but it seems most of the ecosystem is just java in kotlin style code even tho there could be a more functional approach given what it can do. Maybe this will change, or maybe java will catch up (hopefully in our lifetime) with some of the features/syntax introduced by kotlin, but atm the moment it has too much of a "coffeescript for java" after taste to me.
clojure still is the better option on the jvm 🙂 unless you have to work with android I guess
@mpenet "coffeescript for java" -- interesting observation. I've gotten further through the Kotlin web site now and covered interfaces and classes and that all seems to be a bit of a mess to me. So many options and so much syntax -- and not much idiomatic guidance on how best to structure things. Definitely more flexible than Java in that area but not much cleaner. Maybe I just find OOP rather ugly these days in any form...?
If you have to do raw Java, Kotlin's an easier stepping stone to sell to a team than leaping into Clojure, and might get them used to some of the benefits of functional programming. The interop between Java and Kotlin and the easy drop-in drop-out between Kotlin files and Java files also help the story. That said, it does often feel like it makes too many utility functions that have useful mechanics that are difficult to keep separate in your mind: let
, apply
, with
, and run
, for example, have different semantics. https://medium.com/@tpolansk/the-difference-between-kotlins-functions-let-apply-with-run-and-else-ca51a4c696b8