- Learning Scala Programming
- Vikash Sharma
- 189字
- 2021-06-30 19:07:54
Summary
So, let's summarize what we have learned in this chapter. We started with the most basic val and var variable constructs. Then, we learned how we can write literals, and what data types we have in Scala. We then studied the interesting class hierarchy in Scala, in which we talked about unified class hierarchy and value and reference type classes. Later, we learned one of the most important concepts of Type Inference in Scala. After that, we started with operators, and their precedence. We learned how wrapper classes provide all the richness of functionalities to us as programmers. Finally, we learned a simple, but useful way of processing our String literals using interpolators. Now, it's clear that with some more practice of all these constructs that we've learned we'll be ready to go further and learn about some logical and looping constructs that shape up our programs.
In the next chapter, we'll discuss some looping constructs in Scala, logical constructs, and an introduction to pattern matching and how we can control our program flow using pattern matching and enabling us to strengthen our programs on logical ground.
- 零起步玩轉掌控板與Mind+
- JavaScript:Functional Programming for JavaScript Developers
- 數據結構習題精解(C語言實現+微課視頻)
- Elasticsearch for Hadoop
- Oracle 18c 必須掌握的新特性:管理與實戰
- PySide 6/PyQt 6快速開發與實戰
- 大數據分析與應用實戰:統計機器學習之數據導向編程
- Natural Language Processing with Java and LingPipe Cookbook
- Qlik Sense? Cookbook
- Building Business Websites with Squarespace 7(Second Edition)
- Practical Maya Programming with Python
- Robot Framework Test Automation
- 計算機應用基礎案例教程(第二版)
- H5頁面設計與制作(全彩慕課版·第2版)
- Python繪圖指南:分形與數據可視化(全彩)