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

  • Learn Scala Programming
  • Slava Schmidt
  • 209字
  • 2021-06-10 19:35:38

Introduction to Scala 2.13

Scala 2.13 is the latest minor update of the Scala programming language. Despite looking like a minor bump in the version number, this release is much more important than it might appear. 

The reason for this is that its main focus is the reworked collection library, which is going to replace the current version introduced in version 2.8 and slightly redesigned in version 2.9.

The new collection framework is here to stay in Scala 2 and also will become a part of Scala 3.

As it is mostly a library release, the language itself is not changing a lot as compared to the previous version. Apart from the collections, the new version improves on three aspects:

  • Minimizes the core library
  • Speeds up the compiler
  • Improves user-friendliness

These details are outside of the scope of this book and we will not discuss them further. 

Besides that, there is an addition of literal and singleton types, which we will discuss in detail in Chapter 2Understanding Types in Scala, and a few minor changes to the standard library which we'll look at next, before diving into the sea of maps and lists.

Eager to look into the future? We'll take you there!

主站蜘蛛池模板: 平度市| 马尔康县| 金坛市| 伊宁市| 海原县| 桐乡市| 蒲江县| 眉山市| 内江市| 泰顺县| 洞头县| 正镶白旗| 曲水县| 松滋市| 神木县| 安乡县| 常州市| 湘乡市| 浏阳市| 溆浦县| 临潭县| 清水河县| 龙井市| 兴国县| 洪江市| 铜山县| 中阳县| 长汀县| 手机| 内江市| 南开区| 正阳县| 渝北区| 永善县| 黄浦区| 双桥区| 江都市| 遂川县| 谢通门县| 灌南县| 中阳县|