Scala
Learn Scala 3: immutable collections, for comprehensions, traits, case classes and enums, pattern matching, givens, Futures, Cats Effect, sbt and Spark.
कोर्स शुरू करें →
आप क्या सीखेंगे
- Explain Scala's blend of OOP and FP and set up projects with Scala CLI and sbt.
- Write expression-oriented code with immutable collections, for comprehensions and higher-order functions.
- Model domains with classes, traits, case classes, enums and exhaustive pattern matching.
- Handle errors with Option, Either and Try, and use recursion, folds and the type system safely.
- Apply givens, type classes, extension methods and opaque types, and write concurrent code with Futures, effects and actors.
- Build, test and ship Scala services and Spark jobs, and interoperate with Java idiomatically.
पाठ्यक्रम
Getting Started with Scala
- What Scala Is and Where It Is Used
- Installing Scala: Scala CLI, sbt and the REPL
- Values, Types and Expressions
Control Flow, Collections and Functions
- Conditionals, Loops and for Comprehensions
- Immutable Collections
- Functions as Values
Classes, Traits and Data Modelling
- Classes, Objects and Companions
- Traits and Mixin Composition
- Case Classes, Enums and ADTs
Functional Programming in Scala
- Pattern Matching
- Option, Either and Try
- Immutability, Recursion and Folds
The Type System and Contextual Abstractions
- Generics, Variance and Bounds
- Givens, Using Clauses and Type Classes
- Extension Methods, Opaque Types and Union Types
Concurrency and Effects
- Futures and Asynchronous Code
- Effect Systems: Cats Effect and ZIO
- Actors with Apache Pekko and Akka
Building, Testing and Data Engineering
- Projects with sbt
- Testing with MUnit and ScalaTest
- Scala for Data: Apache Spark
Services, Interop, Idioms and Revision
- Building HTTP Services
- Java Interoperability
- Idiomatic Scala and Common Pitfalls
- Revision and Interview Questions