- 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 Java Functional Programming
- 微信公眾平臺與小程序開發:從零搭建整套系統
- GitLab Cookbook
- Java系統分析與架構設計
- Learning Real-time Processing with Spark Streaming
- JavaScript語言精髓與編程實踐(第3版)
- Python從菜鳥到高手(第2版)
- ASP.NET動態網頁設計教程(第三版)
- Learning Python Design Patterns(Second Edition)
- 劍指大數據:企業級數據倉庫項目實戰(在線教育版)
- MySQL從入門到精通(軟件開發視頻大講堂)
- 速學Python:程序設計從入門到進階
- Machine Learning for OpenCV
- SSH框架企業級應用實戰
- Access數據庫應用教程(2010版)