Introduction to Scala
1h 41mBeginner2022-03-11
Authors
Amina Adewusi
Software Engineer
Course details
Scala has become an increasingly popular programming language ever since it was publicly released in 2004. Designed in part to improve on some of the weaknesses of Java, Scala requires less code and supports both object-oriented programming and functional programming. And while Scala and Java are interoperable, you don’t need any knowledge of Java to run Scala. This course with Amina Adewusi is aimed at programming beginners who have only basic programming experience. Amina provides a broad and friendly introduction to some of Scala’s features that will set a foundation for more advanced lessons. She details everything you need to write Scala code and run it locally; examines values and types, functions, and control flows; looks at domain modeling; and explores Scala’s collection types. If you’re just starting on your programming journey, join Amina to see if Scala is right for you.
Skills covered
ScalaLearningProgramming LanguagesOpen SourceSoftware Development
Concepts
0. Introduction
- 01 - Get functional with Scala 3
- 02 - What you should know
- 03 - Big picture - What is Scala
- 04 - Install IntelliJ for Mac
- 05 - Install Scala on a Mac
- 06 - Install IntelliJ for Windows
- 07 - Install Scala on Windows
- 08 - Use the exercise files
- 09 - Verify your installation
1. Our First Scala Project
- 10 - Create a new Scala project
- 11 - Understand the basic structure of a Scala project
- 12 - Challenge - Hello world
- 13 - Solution - Hello world
2. First Scala Function
- 14 - Values and types
- 15 - How to define a function
- 16 - Challenge - Greeting
- 17 - Solution - Greeting
3. Control Structures
- 18 - If-else statements
- 19 - Pattern matching
- 20 - Challenge - Print the numbers of multiples
- 21 - Solution - Print the numbers of multiples
4. Collections
- 22 - Case classes
- 23 - Enums
- 24 - Enums with parameters
- 25 - Challenge - Class and enums
- 26 - Solution - Class and enums
5. Options
- 27 - Introduction to options
- 28 - The map function
- 29 - Flat map
- 30 - For comprehensions
- 31 - Challenge - Options
- 32 - Solution - Options
6. Lists
- 33 - Introduction to lists
- 34 - The map function on lists
- 35 - Flat map on lists
- 36 - For comprehensions on lists
- 37 - Challenge - Lists
- 38 - Solution - Lists
Conclusion
- 39 - Next steps
Related courses
- Scala Essential Training for Data Science
- Programming Foundations: Data Structures
- Serverless Cloud Computing: Concepts, Platforms, and Services
- Elixir 101: Essential Functional Programming Techniques
- Introduction to Machine Learning with KNIME
- Introduction to VMware
- Introduction to Couchbase
- Introduction to NoSQL
Related learn paths
- Advance Your Data Skills in Apache Spark
- Develop Your Scala Skills for Data Engineering
- Data Engineering Professional Certificate by Snowflake
- MLOps Essentials for Developers and AI Engineers: Tools, Pipelines, Security
- Build Your Knowledge of Cloud Administration
- The Top Skills IT Professionals Have Right Now
- Prepare for the MongoDB C# Developer Associate Certification
- Introduction to Fundamental Skills for Data Work: Data Collection