- 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 Splunk
- Microsoft Application Virtualization Cookbook
- Access 數據庫應用教程
- 單片機C語言程序設計實訓100例:基于STC8051+Proteus仿真與實戰
- 編寫整潔的Python代碼(第2版)
- Blockly創意趣味編程
- Hands-On RESTful Web Services with Go
- 微服務架構深度解析:原理、實踐與進階
- Getting Started with Python and Raspberry Pi
- .NET 4.5 Parallel Extensions Cookbook
- BeagleBone Robotic Projects(Second Edition)
- IBM Cognos TM1 Developer's Certification guide
- Instant Zurb Foundation 4
- Julia數據科學應用
- C語言程序設計教程