- 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.
推薦閱讀
- iOS Game Programming Cookbook
- Learning Selenium Testing Tools with Python
- Photoshop智能手機(jī)APP UI設(shè)計(jì)之道
- Visual C++實(shí)例精通
- Web全棧工程師的自我修養(yǎng)
- 秒懂設(shè)計(jì)模式
- 青少年P(guān)ython編程入門
- Hands-On Functional Programming with TypeScript
- iPhone應(yīng)用開發(fā)從入門到精通
- Visual Basic程序設(shè)計(jì)習(xí)題與上機(jī)實(shí)踐
- 一步一步學(xué)Spring Boot:微服務(wù)項(xiàng)目實(shí)戰(zhàn)(第2版)
- Cocos2D Game Development Essentials
- Mastering Swift 4(Fourth Edition)
- Learning WebRTC
- Mastering PyCharm