This is the code repository for Learning Scala Programming, published by Packt.
Learn how to write scalable and concurrent programs in Scala, a language that grows with you.
Scala is a general-purpose programming language that supports both functional and object-oriented programming paradigms. Due to its concise design and versatility, Scala's applications have been extended to a wide variety of fields such as data science and cluster computing. You will learn to write highly scalable, concurrent, and testable programs to meet everyday software requirements.
This book covers the following exciting features: Get to know the reasons for choosing Scala: its use and the advantages it provides over other languages Bring together functional and object-oriented programming constructs to make a manageable application Master basic to advanced Scala constructs Test your applications using advanced testing methodologies such as TDD Select preferred language constructs from the wide variety of constructs provided by Scala Make the transition from the object-oriented paradigm to the functional programming paradigm Write clean, concise, and powerful code with a functional mindset Create concurrent, scalable, and reactive applications utilizing the advantages of Scala
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
object UserDb {
def getById(id: Long): User = ???
def update(u: User): User = ???
def save(u: User): Boolean = ???
}
Following is what you need for this book: This book is for beginner to intermediate level Scala developers who would like to advance and gain knowledge of the intricacies of the Scala language, expand their functional programming tools, and explore actor-based concurrency models.
With the following software and hardware list you can run all code files present in the book (Chapter 1-15).
Chapter | Software required | OS required |
---|---|---|
1-15 | Java 1.8+ | Windows, Mac OS X, and Linux (Any) |
1-15 | SBT 1.2+ | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Slava Schmidt is a software developer living in Germany. During his career, he has used a wide spectrum of programming languages, ranging from Assembler to Haskell, and progressed from an intern programmer, via head of engineering, to a Scala contractor. In his current role, he helps to develop and bring into production a number of Scala projects of various sizes and complexities for customers from different industries. He is a contributor to open source projects related to Scala and Akka. As a passionate conference speaker, he regularly gives talks about technologies to share his experiences with other developers.
Click here if you have any feedback or suggestions.