Skip to main content
Chaptra
Cover of Scala Programming

Scala Programming

Written by Ralph Archer

Not rated yet — tap a star to review it

76 pages, about 2 hours of reading

Chaptra reads alongside you — AI insights, chapter breakdowns and reader discussions for every book. Join free

About this book

Scala programming Learning Scala fast This book is an exploration of the Scala programming language. It begins by explaining what Scala is, where it is used, and its relationship with the Java programming language. The next part discusses how one can set up the environment for Scala programming on different platforms. You will learn how to do this on Windows, Linux, and MacOS platforms. Arrays, which are elements supported in Scala for data storage, are discussed, and thus, you will learn how to use them. The different types of collections which Scala supports are covered in detail, soyou will understand how to use them in the course of programming in Scala. The use of classes and objects in Scala is also explored, thus, you will learn how to create classes and then instantiate objects from these. Traits, which are supported in Scala, are discussed with no detail left out. The pattern matching feature is also explored in this book, so that you will know how to use this feature for the purpose of matching your text in Scala. This book will guide you on how to create regular expressions in Scala and then use them for various tasks. Extractors, which are very useful in Scala programming are also explained. Exception handling is very essential when it comes to programming in any language. This book will guide you on how to handle exceptions in Scala. File I/O is also explored in detail. This book also discusses the various types of loops which can be used in Scala programming. The following topics are included in this book: Definition Environmental Setup Scala Arrays Scala Collections Classes and Objects in Scala Traits in Scala Pattern Matching in Scala Regular Expressions Extractors in Scala Exception Handling in Scala File I/O in Scala Loops in Scala

Read it with a club

Small groups reading the same books and talking as they go.

All clubs
Floor-to-ceiling shelves packed with books

News

  • 1 member
  • 1,813 discussions
  • Active 7h ago

Read Scala Programming alongside people who are reading it too.

Chaptra Prime — paid clubs, every club feature, and unlimited reading support, for $5 a month or $60 once.

See Prime

Reading guide

Themes, characters and key ideas in Scala Programming, written by Chaptra AI.

A reading guide for this book hasn't been written yet. Chaptra builds one the first time a reader opens it.

Chapter-by-chapter breakdowns, character arcs and the full thematic analysis come with a free account.

Discussions

No one has started one yet

Join

No discussions yet

Be the first to start a discussion about this book!

Sign up to start the discussion

Reviews

No reviews yet

Be the first to review this book!