Skip to main content
Chaptra
Cover of Scala Programming

Scala Programming

Written by Matthew Gimson

Not rated yet — tap a star to review it

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

About this book

This book is an exploration of the Scala programming language. It begins by explaining the language to the reader, including its origin, uses and benefits. The book then guides the reader through setting up an environment ready for programming in different operating systems including Windows, Linux, and Mac OS X. The syntax which is used in all the Scala programs is explored. You will understand the various parts which make up a Scala program. Variable declaration in Scala is also explored. On reading this book, you will understand how to use the two keywords, that is, "var" and "val" to declare your variables and make them either mutable or immutable. You will also understand the difference between the two types of variables. The different types of operators which are supported in Scala are discussed in detail. Sample programs are used to demonstrate how these operators can be used practically. Decision making statements are also explored in this book, thus, after reading this book, you will be in a position to create programs which are capable of making logical decisions. Loops are also explored. You will learn how to create certain parts of code to be executed a number of times. You will learn to create functions with or without parameters. Closures, which are a special type of function, are also explored. You will also learn how to use and perform various operations on strings. The following topics are explored in this book: -Setting up the Environment -A Scala Basic Syntax -Variables in Scala -Operators in Scala -Decision making in Scala Programming -Loops in Scala -Functions in Scala -Closures in Scala -Strings in Scala

Read it with a club

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

All clubs
A bright library atrium seen from above

News

  • 1 member
  • 1,813 discussions
  • Active 5h 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!