Skip to main content

Using Kotlin for Server-side Development

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.

*The automated Java to Kotlin converter included in the Kotlin plugin helps with the first steps.
link: https://try.kotlinlang.org/

Comments

Popular posts from this blog

Getting Started with Kotlin For Android Development

Installing the Kotlin Plugin in Android Studio The very first thing you need to do is add Kotlin support to your Android Studio installation. Click on Configure icon, and then select Plugins from dropdown: Click the Install JetBrains plugins button: In the opened dialog, search for Kotlin, select the corresponding plugin and press Install: When you’re finished with downloading and installing, the next step is following the prompts to restart the IDE Configuring Your Project to Use Kotlin Now the IDE knows what to do with Kotlin, but you’ll still need to configure Kotlin every time you want to use it in a new project. Let’s create a new project and configure that project to use Kotlin now. so your next move is to modify the project’s build configuration. Go to Tools\Kotlin\Configure Kotlin in Project. Select Android with Gradle from the Choose Configurator popup that appears. On the Configure Kotlin in Project...