官术网_书友最值得收藏!

What this book covers

Chapter 1, Getting Started with Scala Programming, introduces you to programming paradigms and explains why choosing Scala gives you an edge over other languages. This chapter ends with demonstrating our first Scala program.

Chapter 2, Building Blocks of Scala, explains the basic constructs required to write a simple program. We'll discuss data types, variables, and literals, with a little bit on type inference.

Chapter 3, Shaping our Scala Program, takes you through looping constructs, control structures, and, most importantly, pattern matching.

Chapter 4, Give Meaning to Programs with Functions, discusses the important functions, function literals, and function call mechanisms. We'll end the chapter with a discussion on partial functions.

Chapter 5, Getting Familiar with Scala Collections, introduces you to Scala's rich collections. We'll discuss mutable and immutable collections, and talk about choosing the most suitable collection.

Chapter 6, Object-Oriented Scala Basics, introduces you to object-oriented Scala. We'll talk about objects, classes, and case classes.

Chapter 7, Next Steps in Object-Oriented Scala, talks about default and parameterized constructors. We will also be introduced to class fields, inheritance, and traits.

Chapter 8, More on Functions, differentiates between functions and methods. We'll talk about partially applied functions, closures, and higher-order functions.

Chapter 9, Using Powerful Functional Constructs, covers some of the important topics in Scala, such as tail-call optimization and currying. Then, we'll discuss combinators and end the chapter with an introduction to parameterized types.

Chapter 10, Advanced Functional Programming, takes you into depth of variance and types. We'll also discuss abstract versus parameterized types.

Chapter 11, Working with Implicits and Exceptions, discusses these two important topics, though they are not related, but are essential to the language. An introduction to implicits and understanding how they work will be the key points of this chapter. We'll also discuss the way we handle exceptions in Scala.

Chapter 12, Introduction to Akka, discusses one of the most talked about toolkits the Scala ecosystem provides. Akka is based on the Actor Model, and that's the main attraction of this chapter.

Chapter 13, Concurrent programming in Scala, takes you deeper into concurrent programming. We'll also cover asynchronous programming using Futures and Promises.

Chapter 14, Programming with Reactive Extensions, talks about reactive programming and the API available in Scala for reactive programming. We'll discuss RxScala, a reactive extension, with a few examples.

Chapter 15, Testing in Scala, covers testing. Our approach will be test-driven. We'll use ScalaTest and try out the library to write test cases for our Scala programs.

主站蜘蛛池模板: 清徐县| 苏州市| 晴隆县| 和龙市| 从江县| 阳山县| 乐安县| 高台县| 乐安县| 德保县| 乌兰浩特市| 孟津县| 盖州市| 宁波市| 台安县| 南充市| 贵港市| 金平| 积石山| 康平县| 大港区| 秦安县| 三明市| 读书| 太谷县| 九台市| 鄂伦春自治旗| 孟津县| 海丰县| 蓝山县| 西乡县| 五台县| 任丘市| 磐石市| 泸溪县| 噶尔县| 永登县| 阳城县| 岳西县| 邵东县| 哈尔滨市|