Hands-On Introduction: Scala
2h 16mIntermediate2024-01-22
Authors
Amina Adewusi
Software Engineer
Course details
Scala is a high-level programming language that supports both object-oriented programming and functional programming, and it’s also a key part of many developers’ toolkits. In this course, software engineer Amina Adewusi gives you a thorough introduction to the latest version of Scala, via the process of building an app using GitHub Codespaces. Explore the basics of Scala as you build a minimal app that extracts and transforms files. Practice what you learn with hands-on challenges throughout the course. Plus, go over data and domain modeling, Scala project structure, and testing.
Skills covered
ScalaProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Build your first Scala app
- 02 - What you should know
- 03 - Using GitHub Codespaces
- 04 - Scala introduction
- 05 - What we are going to build
1. Our First Methods and Testing
- 06 - Scala project structure
- 07 - Our first method
- 08 - Our first test
- 09 - Implement our test
- 10 - Challenge - Testing and higher order functions
- 11 - Solution - Testing and higher order functions
2. Implementing Our ETL
- 12 - Traits, generics, givens, and using
- 13 - Eithers, enums, for comps, and pattern matching
- 14 - Challenge - Traits, generics, eithers, enums, and pattern matching
- 15 - Solution - Traits, generics, eithers, enums, and pattern matching
3. Refactoring with Config and JSON
- 16 - Adding configuration
- 17 - Refactoring the tests
- 18 - JSON implementation
Conclusion
- 19 - Next steps