What is the future of Kotlin programming language?

简介: Elina Bessarabova, works at Mind StudiosAnswered Mar 31Good afternoon here,and thank you for an interesting question to ask...

Elina Bessarabova, works at Mind Studios
Answered Mar 31

Good afternoon here,
and thank you for an interesting question to ask here!
Only time can tell what awaits for us in the future - but we assume that Kotlin’s influence is going to get bigger and bigger ;)
Originally, in the year of 2011 as an unveiled version Kotlin first appeared as a new language for Java Virtual Machine from a team of Saint-Peterburg programmers called Jet Brains. The reason they decided to come up with a new “spinning wheel” for Android development is quite easy to understand; apparently, there are a few:
Java has been around for 22 years already (quite a term for a programming language), which is why there are loads of features that can not be implemented due to Java's massiveness and obsolescence.
Java requires long code combinations to be written
Code written on Java takes quite a while to compile

So, let’s start somewhere at the beginning.
Reasons to Use Kotlin:
1) Kotlin requires less code to write.
At least 20% less. As it was previously mentioned, 22-year old Java is a bit outdated already + Oracle created Java to be a backward compatible language, which basically, means that every newly launched version has to support the features included in the previous one, and as a result, with every update it becomes harder to include some new features; consequently, the amount of code to write also increases. On the contrary, Kotlin’s architecture was created from scratch, causing the absence of layer to layer architecture.
2) Less crushes occur on Kotlin.
**Read more about why there occur less crashes and a few more reasons to use Kotlin in our new article **Kotlin vs Java: Will Kotlin Replace Java? - Mind Studios

Jonathon Mithe
Answered Sep 6, 2016

As for its “future” I would say its bright. The way computer chips / power is going multi cored / threaded is becoming more and more important. Reactive patterns are a good solution here and functional paradigms really help coding. Hence the uptake of scala etc and functional stuff in java.

But those functional languages as great as they are are new languages / breaking changes -> don't work well with java and have high learning curves. They been design for features or to work with akka / hibernate / insert framework here.

Kotlin is different, its almost a second gen language that has learnt from the others, its been designed to work well with java, to target enerprisey type development, to be used in a java codebase by java developer / low learning curve, has a good subset of the next gen features that make those other languages desirable whilst also being performant (compilation), and also just a good language on its own.

So the enterpisey monolith who resists change now has a language that potentially is easy to give to existing java devs (scala just isn't…) and fits in with java / is a safe transistion + change that gives them these new language benefits for the modern world.

New java is better but is dogged too much by backward compatibility and catchup, with functional concepts which it seems to half care about.

Tie in the fact its developed by probably the top / biggest JVM IDE on the market, i.e. it works flawlessly, they help/ utils to work with java and probably most importantly is advertised within the IDE to java devs… it actually has the platform / access to push to devs rather than just “another language” on the internet.

So yeah, the future I think is quite bright.

Doug Stevenson, Google Developer Advocate
Answered Aug 30

Kotlin can be used exactly like Java in any way that requires compiled bytecode to be executed later in a JVM. I believe all JVM languages share this in common, which includes Scala, Groovy, and more. You just have to configure your project to compile Kotlin source code in the same way it compile Java source.
Similarly, Kotlin can be used for Android development with the appropriate tooling from JetBrains.

Ravi Prajapati, studied at Hemchandracharya North Gujarat University, Patan
Answered May 24

What is the future of Kotlin?
Google announced support for Kotlin in Android at Google I/O 2017, but many of us aren’t sure what’s going on or why we should care.
Let’s take a look at the important things you need to know about Kotlin if you’re notan Android developer.
JetBrains’ thoughtful work on Kotlin’s design is one of the reasons we’re embracing the language. Google is partnering with JetBrains to ensure a wonderful overall developer story—from language, to framework, to tools. And, we are excited to be working together to move the Kotlin language into a non profit foundation.
To know more about Kotlin, Kotlin, Android’s new programming language – Things you need to know about it

Paul Haris, works at Android Application Development
Answered Jun 1

All about Kotlin – A Future of Android App Development
Kotlin is the most recent and powerful language that overcome several problems suffered by Android developers using Java such as verbosity of source code and runtime exceptions and many others. It is very simple to get started and developers can also introduce it into existing projects.
Kotlin is a the latest open source programming language for Java Virtual machine enables streamlining Android Development in more efficient way. It can compile to JavaScript Source code also. It is very similar to Java in structure such as it is a statically typed and object oriented as well as designed for similar problems that java solve. However, Kotlin comprises several superior features, simpler syntax and concepts from functional programming, it has many more enrichments compared to Java.
Here, we would like to mention about useful features and benefits of Kotlin to consider it as a powerful language that streamlines Android App Development: - Kotlin – The Latest Powerful Language to Streamline Android App Development

I love to jump on new technologies because they provide an opportunity to have a fair competition with those who are already experienced in industry. So I am going ahead, and starting to build my first app in kotlin.


https://www.quora.com/What-is-the-future-of-Kotlin-programming-language


KotlinChina编程社区 微博

《Kotlin极简教程》正式上架:

点击这里 > 去京东商城购买阅读

点击这里 > 去天猫商城购买阅读

非常感谢 if (boy) { 帅气英俊潇洒} else { 魔鬼身材天使脸蛋美丽动人女神气质} 的您。大家请多支持!!!您的支持,是我源源不断的写作的动力! 如果您有任何问题,欢迎随时与我交流~


相关文章
|
JavaScript Java Go
Rise of Kotlin: The Programming Language for the Next Generation
Rise of Kotlin: The Programming Language for the Next Generation https://hackernoon.
1566 0
【Kotlin 反应式编程】第1讲 你好,Reactive Programming
【Kotlin 反应式编程】第1讲 你好,Reactive Programming 1.创建 Gradle Kotlin 项目 image.
1807 0
|
前端开发 JavaScript Java
《Kotlin 反应式编程》使用 RxKotlin 实现一个极简的 http DSL ( Reactive Programming Using Rx Kotlin )
《Kotlin 反应式编程》使用 RxKotlin 实现一个极简的 http DSL Reactive Programming Using Rx Kotlin https://github.com/ReactiveX/RxKotlin RxKotlin: RxJava bindings for Kotlin 使用 RxKotlin 实现一个极简的 http DSL ( Reactive Programming Using Rx Kotlin ) 我们现在已经基本知道 Kotlin 中 DSL 的样子了。
1712 0
|
2月前
|
JSON 调度 数据库
Android面试之5个Kotlin深度面试题:协程、密封类和高阶函数
本文首发于公众号“AntDream”,欢迎微信搜索“AntDream”或扫描文章底部二维码关注,和我一起每天进步一点点。文章详细解析了Kotlin中的协程、扩展函数、高阶函数、密封类及`inline`和`reified`关键字在Android开发中的应用,帮助读者更好地理解和使用这些特性。
34 1
|
3月前
|
Android开发 开发者 Kotlin
告别AsyncTask:一招教你用Kotlin协程重构Android应用,流畅度飙升的秘密武器
【9月更文挑战第13天】随着Android应用复杂度的增加,有效管理异步任务成为关键。Kotlin协程提供了一种优雅的并发操作处理方式,使异步编程更简单直观。本文通过具体示例介绍如何使用Kotlin协程优化Android应用性能,包括网络数据加载和UI更新。首先需在`build.gradle`中添加coroutines依赖。接着,通过定义挂起函数执行网络请求,并在`ViewModel`中使用`viewModelScope`启动协程,结合`Dispatchers.Main`更新UI,避免内存泄漏。使用协程不仅简化代码,还提升了程序健壮性。
96 1
|
4月前
|
调度 Android开发 开发者
【颠覆传统!】Kotlin协程魔法:解锁Android应用极速体验,带你领略多线程优化的无限魅力!
【8月更文挑战第12天】多线程对现代Android应用至关重要,能显著提升性能与体验。本文探讨Kotlin中的高效多线程实践。首先,理解主线程(UI线程)的角色,避免阻塞它。Kotlin协程作为轻量级线程,简化异步编程。示例展示了如何使用`kotlinx.coroutines`库创建协程,执行后台任务而不影响UI。此外,通过协程与Retrofit结合,实现了网络数据的异步加载,并安全地更新UI。协程不仅提高代码可读性,还能确保程序高效运行,不阻塞主线程,是构建高性能Android应用的关键。
64 4
|
5月前
|
安全 Android开发 Kotlin
Android经典面试题之Kotlin延迟初始化的by lazy和lateinit有什么区别?
**Kotlin中的`by lazy`和`lateinit`都是延迟初始化技术。`by lazy`用于只读属性,线程安全,首次访问时初始化;`lateinit`用于可变属性,需手动初始化,非线程安全。`by lazy`支持线程安全模式选择,而`lateinit`适用于构造函数后初始化。选择依赖于属性特性和使用场景。**
177 5
Android经典面试题之Kotlin延迟初始化的by lazy和lateinit有什么区别?
|
5月前
|
安全 Android开发 Kotlin
Android经典面试题之Kotlin中常见作用域函数
**Kotlin作用域函数概览**: `let`, `run`, `with`, `apply`, `also`. `let`安全调用并返回结果; `run`在上下文中执行代码并返回结果; `with`执行代码块,返回结果; `apply`配置对象后返回自身; `also`附加操作后返回自身
62 8
|
5月前
|
安全 Java Android开发
探索Android应用开发中的Kotlin语言
【7月更文挑战第19天】在移动应用开发的浩瀚宇宙中,Kotlin这颗新星以其简洁、安全与现代化的特性,正迅速在Android开发者之间获得青睐。从基本的语法结构到高级的编程技巧,本文将引导读者穿梭于Kotlin的世界,揭示其如何优化Android应用的开发流程并提升代码的可读性与维护性。我们将一起探究Kotlin的核心概念,包括它的数据类型、类和接口、可见性修饰符以及高阶函数等特性,并了解这些特性是如何在实际项目中得以应用的。无论你是刚入门的新手还是寻求进阶的开发者,这篇文章都将为你提供有价值的见解和实践指导。
|
5月前
|
SQL 安全 Java
Android经典面试题之Kotlin中object关键字实现的是什么类型的单例模式?原理是什么?怎么实现双重检验锁单例模式?
Kotlin 单例模式概览 在 Kotlin 中,`object` 关键字轻松实现单例,提供线程安全的“饿汉式”单例。例如: 要延迟初始化,可使用 `companion object` 和 `lazy` 委托: 对于参数化的线程安全单例,结合 `@Volatile` 和 `synchronized`
69 6