- Learning Scala Programming
- Vikash Sharma
- 163字
- 2021-06-30 19:07:48
Building Blocks of Scala
"You can't build a great building on a weak foundation. You must have a solid foundation if you're going to have a strong superstructure."
- Gordon B. Hinckley
Our aim as programmers is to provide a solution to a problem through some logical implementation. Programming languages work as a tool for just that. When we implement a solution to a problem, we must be able to describe the problem (specification) so that a programming language can verify (verification) whether the solution indeed solves the problem.

Problem Solution
For implementation, we use various programming constructs, which are basic entities with some syntactic rules. These entities work as building blocks for any programming language. In Scala, we have similar syntax to almost any other programming language. We use keyword/name/classifier/bound-entity. In this chapter, our aim is to get familiar with some of the building blocks. We'll go through:
- The val and var keywords
- Literals
- Data types
- Type Inference
- Operators
- Wrapper classes
- String interpolation
推薦閱讀
- Learning Scala Programming
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Spring Cloud Alibaba微服務架構設計與開發實戰
- MySQL 8 DBA基礎教程
- Hadoop+Spark大數據分析實戰
- Java Web程序設計
- MySQL數據庫管理與開發(慕課版)
- Scala編程實戰(原書第2版)
- Getting Started with NativeScript
- Getting Started with Laravel 4
- SQL Server數據庫管理與開發兵書
- Python從入門到精通(第3版)
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- Learning Nessus for Penetration Testing
- Practical Predictive Analytics