Hands-On Introduction: Scala

Hands-On Introduction: Scala

2h 16mIntermediate2024-01-22

Authors

Amina Adewusi

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

Introduction

  • Build your first Scala app
  • What you should know
  • Using GitHub Codespaces
  • Scala introduction
  • What we are going to build

Our First Methods and Testing

  • Scala project structure
  • Our first method
  • Our first test
  • Implement our test
  • Challenge - Testing and higher order functions
  • Solution - Testing and higher order functions

Implementing Our ETL

  • Traits, generics, givens, and using
  • Eithers, enums, for comps, and pattern matching
  • Challenge - Traits, generics, eithers, enums, and pattern matching
  • Solution - Traits, generics, eithers, enums, and pattern matching

Refactoring with Config and JSON

  • Adding configuration
  • Refactoring the tests
  • JSON implementation

Conclusion

  • Next steps
80,000 Toman