Fork me on GitHub
#clojure-nl
<
2018-11-19
>
niels11:11:39

just read vijay is a candidate for clojurists together committee this year :thumbsup:

😊 4
niels11:11:53

Trying to figure out a nice way to mix auto-generated documentation with handwritten docs.

hansw15:11:42

@gklijs most java devs have seen the light and now use 'final' everywhere 🙂

hansw15:11:59

Kotlin goes a long way in solving java's most obvious defects... I still haven't found a downside to Kotlin, if you're willing to let the static typing slide 🙂

gklijs15:11:55

Final doesn't cut it, since it's just the 'pointer' that's final. At least Kotlin has some more defaults to immutable, like the default list. Only downside would be stability/maintainability I think. Which might be more important than the advantages for some organisations.

hansw15:11:43

I know 🙂 I didn't mean to go into value types yet 🙂

hansw15:11:59

that JSR is still under dev

hansw15:11:26

I have been keeping myself happy with Guava's ImmutableList (et al)

hansw15:11:55

java.util.List will always remain mutable

gklijs15:11:24

Some other downside might be the illusion you don't have a null pointer. Of you do get a null for example from a database, where you expect always a string, the whole application fails.

hansw15:11:04

Luckily i'm doing some clojure today

gklijs15:11:25

For me it's mostly reactive Java now, which might be the worst of both worlds.

hansw15:11:02

Well at least you get to be reactive and therefore hip 🙂