Kotlin

debonair

Well-Known Member
Joined
Sep 10, 2008
Messages
228
Reaction score
2
Location
Cape Town
anyone here using kotlin yet, was playing around with it over the weekend and am planning to port some of my apps to it. what are your thoughts so far?
 
by port I assume you mean add support to existing java apps. I would never port or rewrite anything but the tiniest of code bases

I tried it on a new project, and liked it. Very swift-like.

I eventually abandoned it however, as we were using annotation based JAXB and ran into issues unmarshaling (unfortunately I cannot recall the exact details, possibly something to do with immutable collections)
 
by port I assume you mean add support to existing java apps.
Yes thats want I want to do. I want to introduce it gradually by replacing existing services and starting new ones with it and eventually deprecating the old Java ones. I find java syntax very verbose. you have to write a lot of code just to achieve something small
 
The issues where java is verbose is mostly around value/data POJO's , which can be mostly alleviated using lombok.
Type inference would obviously be very nice, and this is where a 100% Java compatible language like Kotlin shines

Guess it depends what kind of Java development you do. If you have bought into Spring framework in all it's glory, then Java is a pleasure
 
Does anyone have experience with Java Spring?
 
yes, extensively. might be worthwhile to start another thread
 
I have been using Kotlin for a week now in a new project.

I have also been doing a lot of C# and .net in the last year or so. C# is quite nice compared to Java. .Net is an abomination

Kotlin is the answer to my prayers. Awesome language features, leaving the verbosity of Java behind, while still being able to get the amazing productivity that the spring framework and its support projects give.
 
I have been using Kotlin for a week now in a new project.

I have also been doing a lot of C# and .net in the last year or so. C# is quite nice compared to Java. .Net is an abomination

Kotlin is the answer to my prayers. Awesome language features, leaving the verbosity of Java behind, while still being able to get the amazing productivity that the spring framework and its support projects give.
Kotlin's better but not yet great IMO; still missing far too many "new style" coding features; some of the excuses given are that they're restricted because of JVM compatibility, but that certainly never held Scala or Clojure back. The same could be said about C# but to a lesser extent; where my biggest gripe is that C# is still missing so many of the features that make F# so dynamic.

Also the fact that Kotlin started up 3 years ahead of Swift certainly isn't apparent; Swift's substantially ahead in most areas. Another comparison is Rust which only started a year ahead of Kotlin, yet similarly outshines Kotlin. So whilst it's a pleasant terse improvement over Java verbosity; I have to wonder if Jetbrains resourcing is holding the language back.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X