- 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.
- Node.js 10實戰(zhàn)
- C語言程序設(shè)計案例教程(第2版)
- Android和PHP開發(fā)最佳實踐(第2版)
- Mastering OpenCV Android Application Programming
- R語言數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南
- 編寫高質(zhì)量代碼:改善C程序代碼的125個建議
- Java加密與解密的藝術(shù)
- PHP+MySQL+Dreamweaver動態(tài)網(wǎng)站開發(fā)實例教程
- 差分進化算法及其高維多目標優(yōu)化應(yīng)用
- PHP+Ajax+jQuery網(wǎng)站開發(fā)項目式教程
- Python+Tableau數(shù)據(jù)可視化之美
- Scratch趣味編程:陪孩子像搭積木一樣學(xué)編程
- 并行編程方法與優(yōu)化實踐
- jQuery for Designers Beginner's Guide Second Edition
- WebStorm Essentials