Uncover the expanse of Scala functions in this lesson. The course offers an introduction to the Scala Function syntax, as well as how to create your own Scala functions.
Overview
Syllabus
- Lesson 1: Introduction to Functions in Scala
- Robot Greeting Gesture in Scala
- Renaming and Invoking Functions in Scala
- Debug the Robot's Cleaning Program
- Welcome Home Automation Feature
- Illuminating the Homestead: Programming the Robot in Scala
- Lesson 2: Introduction to Function Parameters in Scala
- Mixing Pancake Batter in Scala
- Pancake Ingredient Calculator Enhancement
- Positive Ingredient Check for Pancake Cooking
- Scala Pancake Cooking Function
- Lesson 3: Introduction to Function Returns in Scala
- Calculating the Average Score in Scala
- Enhancing the Average Score Function
- Fix the Average Calculation Function
- Determining the Maximum of Two Numbers in Scala
- Calculating Averages with Scala Functions
- Lesson 4: Overloading Functions in Scala
- Mixing Ingredients with Method Overloading in Scala
- Enhancing the ServeDish Method
- Fix the Mixing Ingredients Function
- Cooking with Function Overloading
- Mixing Ingredients with Function Overloading in Scala
- Lesson 5: Understanding Function Scope in Scala
- Circle Geometry in Scala
- Refactoring Scala Code for Global Constant Usage
- Fix Geometry Calculations
- Exploring Variable Shadowing in Scala
- Scala Triangle Area Calculation
- Lesson 6: Variable Arguments (Varargs) in Scala
- Grocery Shopping Reminder with Sequence Parameters
- Adapting listGroceries for Varargs
- Fixing the Discount Application in ShoppingCart Function
- Grocery Shopping List Display in Scala
- Scala Varargs for Grocery List Creation
- Lesson 7: Named Arguments and Default Parameter Values in Scala
- Enhancing Function Clarity with Default and Named Parameters in Scala
- Introducing Vibrant Yellow: Default Parameter Values in Scala Functions
- Shape Drawing Debugger
- Scala Canvas Painting with Default and Custom Colors
- Scala Studio: Painting with Functions