![]() JavaScript woes: Kotlin is a perfect choice if you gave up on web development because of common JavaScript issues, such as having to deal with dynamic typing, weird logical comparisons, or prototypes.You can call your Kotlin code from JavaScript. This interop works in the opposite direction as well. It lets you reuse existing JavaScript code you’ve already written with Kotlin. ![]() ![]() Interoperability: The ability to call JavaScript code from your Kotlin code is very important.Sharing code between platforms: With Kotlin Multiplatform Projects, you can write the business logic of your app once, and share it across many platforms including your back-end, browser front-end, Android and iOS clients.Friendly tools: IDEs can’t help you much with JavaScript, while Kotlin comes with first-class IDE support so that you can spot common errors as you type the code.Familiarity: If you’re coming from a compiled language like Java, Swift or C#, you’ll find Kotlin very easy to learn - and you might already be familiar with it if you’re an Android developer.So, why would you use Kotlin for web development? Here are a few reasons: Kotlin has the potential to be a true full-stack solution, being in use on the server, in the web browser, and on mobile. You can even use Kotlin on the front-end, replacing JavaScript as a web language. You can use Kotlin in place of Java in back-end systems. Since the announcement of official support for Kotlin on Android at Google I/O 2017, the use of Kotlin has massively accelerated within the Android community.īut Kotlin can be used for much more than just Android. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |