3 ms·
Kotlin, our company had recently turned into a java shop, and I was literally tempted to throw in the towel because I'm used to C# & python, so the boilerplate
by walrus1066 8y ago
Kotlin, our company had recently turned into a java shop, and I was literally tempted to throw in the towel because I'm used to C# & python, so the boilerplate was really unpalatable.
Then one of our team wrote a service in kotlin, and we never looked back, I had my type inference, extension methods & null safety back, along with really strong immutability features, pure functions to boot.
It is such a pleasure to work with, it's in my opinion the pinnacle of traditional statically typed OO language (C#, java etc)
EDIT: now, all new services in our company are written in kotlin, it got grass roots adoption in every team (bar one which came from a much more old-school java background)
- rockyj 8y agoI really liked Kotlin too. Which web framework do you recommend using with Kotlin (assuming you do webdev with Kotlin)?
- walrus1066 8y agoKtor, it's working really well, only downside is limited openAPI/swagger support, i.e. Schema first or code first code/schema generation.
- wing328hk 8y agoHave you tried the `kotlin-server` generator in the OpenAPI Generator project (https://github.com/OpenAPITools/openapi-generator https://github.com/OpenAPITools/openapi-generator)? Disclosure: I'm the top contributor to OpenAPI Generator.
- fenk85 8y agoSpringboot 2 has good Kotlin support and more importantly it would be easier to convert management to the team using kotlin if they think all you are doing is spring. By time they realise you have several services running well and you get a wow. This is what happened to me.
- sedatk 8y agoKotlin almost feels like a rebranded Swift.
- scns 8y agoKotlin came out before Swift