Scala
Scala is a statically typed programming language that runs on the Java Virtual Machine, combining object-oriented and functional programming paradigms and interoperating seamlessly with existing Java libraries.
21 resources across 3 libraries
Glossary Terms(2)
Elixir
Elixir is a dynamic, functional programming language built on the Erlang virtual machine (BEAM), designed for building scalable, fault-tolerant, and highly con…
Scala
Scala is a statically typed programming language that runs on the Java Virtual Machine, combining object-oriented and functional programming paradigms and inte…
Study Notes(18)
Building a REST API with Scala
A hands-on guide to building a JSON REST API in Scala using a typical HTTP toolkit, covering routing, JSON codecs, and error handling.
Classes and Objects in Scala
Learn how Scala classes bundle state and behavior, how primary and auxiliary constructors work, and how singleton objects and companion objects replace Java's…
Functions in Scala
Learn how to define, call, and structure functions in Scala using def, including default parameters, named arguments, and multiple parameter lists.
Implicits in Scala
Scala's implicit parameters, implicit conversions, and implicit classes let the compiler thread context and behavior through code automatically, powering type…
Lists in Scala
Learn how Scala's immutable List works as a singly-linked structure, how to build and traverse it, and the core operations every Scala developer uses daily.
Loops and For-Comprehensions
Explore Scala's imperative loop constructs alongside the functional for-comprehension, including guards, nested generators, and yield-based transformations.
Scala and Akka Actors
Akka's actor model gives Scala developers a way to build concurrent, distributed systems out of isolated, message-driven actors instead of shared mutable state…
Scala and Apache Spark
Apache Spark's Scala API exposes distributed, fault-tolerant data processing through RDDs, DataFrames, and Datasets, letting Scala code scale from a laptop to…
Scala Best Practices
Idiomatic patterns for writing clean, maintainable, and performant Scala code, from immutability to error handling to project structure.
Scala Interview Questions
Frequently asked Scala interview topics — from core language features to collections, concurrency, and functional programming concepts — with the reasoning int…
Scala Operators and Expressions
How Scala treats operators as method calls, covers arithmetic, comparison, and logical operators, and why almost everything in Scala is an expression that retu…
Scala Quick Reference
A condensed cheat sheet of core Scala syntax — variables, collections, pattern matching, and common idioms — for quick lookup while coding.
Scala vs Java
A practical comparison of Scala and Java covering syntax, type systems, concurrency, and when to choose one over the other on the JVM.
Setting Up Scala and sbt
A practical walkthrough of installing Scala, understanding sbt (the Scala Build Tool), and creating your first buildable project.
Traits in Scala
Learn how Scala traits provide composable, disciplined multiple inheritance, how linearization resolves overriding conflicts, and when to reach for a trait ver…
Tuples in Scala
Learn how Scala's Tuple types bundle a fixed number of heterogeneous values, how to create, access, and destructure them, and when a case class is a better fit.
What Is Scala?
An introduction to Scala as a statically typed, JVM-based language that fuses object-oriented and functional programming paradigms.
Your First Scala Program
A hands-on walkthrough of writing, compiling, and running a complete Scala program, from the @main entry point to reading input from the console.