- Kotlin for Enterprise Applications using Java EE
- Raghavendra Rao K
- 132字
- 2021-06-10 18:49:25
Concise code
Kotlin code is elegant and clear and has a lot less boilerplate code than Java. When we compare a Java class and a Kotlin class that perform the same task, the one written in Kotlin will typically be much more concise, clear, and compact than the one written in Java. Kotlin greatly reduces the boilerplate code, meaning we don't need to write getters, setters, or toString(), hashCode(), or equals() functions. Kotlin generates all these constructs by itself, making the language more clean and concise.
We can choose which language to use for application development. If we already have an application written in Java, we can include Kotlin to get the benefits that it offers so that the code becomes clear, concise, and easy to maintain.
推薦閱讀
- Mastering Ext JS(Second Edition)
- 21天學通C++(第6版)
- Nginx Essentials
- Linux Device Drivers Development
- Learning Python Design Patterns
- 網站構建技術
- Learning FuelPHP for Effective PHP Development
- Kotlin開發教程(全2冊)
- 深入實踐Kotlin元編程
- 數據分析與挖掘算法:Python實戰
- After Effects CC案例設計與經典插件(視頻教學版)
- 從零開始學UI設計·基礎篇
- Azure for Architects
- Learning Node.js for Mobile Application Development
- JSP編程教程