- Learn Scala Programming
- Slava Schmidt
- 95字
- 2021-06-10 19:35:44
Understanding types
The type of something is a summation of the information the compiler owns about this something. In the most general case, we're talking about the type of a variable; the knowledge of the compiler includes the methods that are available on this variable and the classes that the variable extends. A very convenient feature of Scala is that it tries to use type inference where possible, freeing the developer from the need to define types explicitly.
Let's take a structured look at Scala's type system, starting with a short recap of its basics.
推薦閱讀
- Advanced Machine Learning with Python
- 零基礎搭建量化投資系統:以Python為工具
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- 用Flutter極速構建原生應用
- HTML 5與CSS 3權威指南(第3版·上冊)
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- C#程序設計(項目教學版)
- UML軟件建模
- Java并發實現原理:JDK源碼剖析
- Using Yocto Project with BeagleBone Black
- MongoDB Cookbook
- Qt 5.12實戰
- Clojure Data Structures and Algorithms Cookbook
- 深入大型數據集:并行與分布化Python代碼
- ASP.NET本質論