Get Programming with Scala

Get Programming with Scala

  • Downloads:4690
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-11-25 09:51:24
  • Update Date:2025-09-06
  • Status:finish
  • Author:Daniela Sfregola
  • ISBN:1617295272
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

The perfect starting point for your journey into Scala and functional programming。

Summary
In Get Programming in Scala you will learn:

    Object-oriented principles in Scala
    Express program designs in functions
    Use types to enforce program requirements
    Use abstractions to avoid code duplication
    Write meaningful tests and recognize code smells

Scala is a multi-style programming language for the JVM that supports both object-oriented and functional programming。 Master Scala, and you'll be well-equipped to match your programming approach to the type of problem you're dealing with。 Packed with examples and exercises, Get Programming with Scala is the perfect starting point for developers with some OO knowledge who want to learn Scala and pick up a few FP skills along the way。

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications。

About the technology
Scala developers are in high demand。 This flexible language blends object-oriented and functional programming styles so you can write flexible, easy-to-maintain code。 Because Scala runs on the JVM, your programs can interact seamlessly with Java libraries and tools。 If you’re comfortable writing Java, this easy-to-read book will get you programming with Scala fast。

About the book
Get Programming with Scala is a fast-paced introduction to the Scala language, covering both Scala 2 and Scala 3。 You’ll learn through lessons, quizzes, and hands-on projects that bring your new skills to life。 Clear explanations make Scala’s features and abstractions easy to understand。 As you go, you’ll learn to write familiar object-oriented code in Scala and also discover the possibilities of functional programming。

What's inside

    Apply object-oriented principles in Scala
    Learn the core concepts of functional programming
    Use types to enforce program requirements
    Use abstractions to avoid code duplication
    Write meaningful tests and recognize code smells

About the reader
For developers who know an OOP language like Java, Python, or C#。 No experience with Scala or functional programming required。

About the author
Daniela Sfregola is a Senior Software Engineer and a Scala user since 2013。 She is an active contributor to the Scala Community, a public speaker at Scala conferences and meetups, and a maintainer of open-source projects。

Table of Contents

Unit 0 HELLO SCALA!
Unit 1 THE BASICS
Unit 2 OBJECT-ORIENTED FUNDAMENTALS
Unit 3 HTTP SERVER
Unit 4 IMMUTABLE DATA AND STRUCTURES
Unit 5 LIST
Unit 6 OTHER COLLECTIONS AND ERROR HANDLING
Unit 7 CONCURRENCY
Unit 8 JSON (DE)SERIALIZATION

Download

Reviews

Weekend Critic

This is not a great book about Scala。 It is 500-something pages after which you will have to read another book。 It also has almost all of the major flaws of programming books。 Feels like someone was playing Bingo。Key negative points: - The book goes in-depth and repeats itself on easier topics。 On topics that are almost copy paste of Scala docs。 There are probably 150 pages total spent on map, flatten and flatMap concepts for each type。 Yet, when it comes to complex fundamental topics the book j This is not a great book about Scala。 It is 500-something pages after which you will have to read another book。 It also has almost all of the major flaws of programming books。 Feels like someone was playing Bingo。Key negative points: - The book goes in-depth and repeats itself on easier topics。 On topics that are almost copy paste of Scala docs。 There are probably 150 pages total spent on map, flatten and flatMap concepts for each type。 Yet, when it comes to complex fundamental topics the book just literally flies through them, at best uses them without explanation, at worst just implies that reader knows a lot about FP or OOP。 - The book spends roughly 1/3 of its volumes on libraries。 When, again, not explaining some core concepts in depth。 Libraries that rely on complex Scala topics (that are not explained in the book) are thrown in as is in the very beginning of the book。 - The book spends pages on syntax/examples/descriptions of random tasks that are hard to follow。 It can define a class and then use it after 20 or so pages。 It can spend a whole page on just a copy paste of a code example, of which you are really only interested in 2-3 lines of code。 - The book can have a chapter on a core concept of the language that is not present in other languages。 Which is good。 And then 3-4 chapters later use some feature of it that was not explained in the original chapter。 Literally pointing an arrow at it with 1-2 sentence paragraph about what it is。 - The capstone projects are。。。 weird。 3rd or so capstone project makes you write a REST API using a library that heavily relies on Streams, Encoders and Decoders。 And the NEXT chapter after that teaches you what List is (and yes, List is also used in capstone project before it is even introduced)Overall this is either editorial mistake or the author could not focus on the kind of audience they expected。 A book for beginners? Then don't fly over complex fundamental topics。 And explain why map methods are so important。 No need to copy paste docs for each type even for beginners。 A book for experienced engineers? Then go in-depth on complex Scala specific features and don't repeat the syntax of map and flatMap。The only thing this book can teach is how to solve specific artificial problems given in the book itself。 And this is hardly 'teaching' Scala。 I rarely give such negative reviews but whether you are a beginner or an experienced engineer I would say avoid this book and don't waste your time。 。。。more