Using Kotlin for Server-side Development
Kotlin is a next-gen programming language and great fit for developing server-side applications.
Why Kotlin is good:
1.Building server-side code (typically, backends of web applications)
2.Building mobile applications that run on Android devices
These are all of the advantages of a modern Server-side language :
> Strong type system thanks to the type inference which will save you many headaches.
>Proper multithreading
>Which is gaining popularity with the Android development community as a replacement for old good Java.
>The language is very well designed and I haven't encountered any gotchas unlike JS where you have to tread carefully the whole time
>Kotlin Native will in the future allow you to run Kotlin without the JVM
>While you're at it, you can do Android native in the same language and there are plans for better iOS support via Kotlin Native.
>Kotlin might replace your bash scripts in the future - one language that does it all!
>The Kotlin standard lib has almost everything you need for general dev, so no need for external helper libraries to do String padding, and so forth.
>You get both Object Orientated and Functional benefits in Kotlin since they took the best features from a large number of languages and simply copied plus improved it instead of re-inventing the wheel.
>null safety is probably a huge advantage over JS.
Deploying Kotlin Server-side Applications
Kotlin applications can be deployed into any host that supports Java Web applications, including Amazon Web Services, Google Cloud Platform and more.
Kotlin applications can be deployed into any host that supports Java Web applications, including Amazon Web Services, Google Cloud Platform and more.
*The automated Java to Kotlin converter included in the Kotlin plugin helps with the first steps.
link: https://try.kotlinlang.org/
Comments
Post a Comment