- Kotlin Blueprints
- Ashish Belagali Hardik Trivedi Akshay Chordiya
- 217字
- 2021-07-02 21:50:10
Beyond being a better Java
We saw that on the JVM platform, Kotlin is neat and quite superior. However, Kotlin has set its eyes beyond the JVM. Its strategy is to win based on its superior and modern feature set.
Before we go ahead, let's list the top five appeals of Kotlin:
- Static typing (like in C or Java) means that there is built-in type safety. The compiler catches any incorrect type assignments. This makes programs robust.
- Kotlin is concise and expressive. Being concise implies that there is less to read and maintain. Being expressive implies better maintainability.
- Being a JVM language, the Kotlin programs can take advantage of the features built into the JVM, such as its cross-platform nature, memory management, high performance and sandbox security.
- Kotlin has inbuilt null-safety. Null references are famous as the billion-dollar mistake, as admitted by its inventor Tony Hoare and cost a great deal of unnecessary null-checks in programs. Kotlin eliminates those and makes the programs more robust.
Kotlin is easy to learn, especially for Java developers. Its syntax is clean and therefore easy to understand, because of which, Kotlin programs are fun for developers to code and easy to understand, and enhancing for their peers. From a business angle, they are more robust and easy to maintain for businesses.
推薦閱讀
- Python程序設(shè)計(第3版)
- Java應(yīng)用開發(fā)與實踐
- SEO實戰(zhàn)密碼
- 編譯系統(tǒng)透視:圖解編譯原理
- Visual C++數(shù)字圖像處理技術(shù)詳解
- 組態(tài)軟件技術(shù)與應(yīng)用
- Python深度學(xué)習(xí):基于TensorFlow
- Android應(yīng)用開發(fā)深入學(xué)習(xí)實錄
- Struts 2.x權(quán)威指南
- C++程序設(shè)計
- 微信公眾平臺開發(fā)最佳實踐
- Visual C++程序開發(fā)范例寶典
- Thymeleaf 3完全手冊
- C語言開發(fā)寶典
- ASP.NET 4權(quán)威指南