官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 普洱| 花莲市| 顺昌县| 财经| 大宁县| 北川| 甘孜县| 新泰市| 鸡西市| 蚌埠市| 泰州市| 东乌珠穆沁旗| 屏山县| 普宁市| 闵行区| 赤城县| 乌兰浩特市| 徐水县| 曲靖市| 瑞安市| 徐闻县| 南召县| 修文县| 德惠市| 礼泉县| 理塘县| 读书| 玉山县| 惠水县| 启东市| 内江市| 寻甸| 南皮县| 龙泉市| 潮安县| 安仁县| 太湖县| 乌拉特中旗| 浦县| 巫山县| 长寿区|