We may earn an affiliate commission when you visit our partners.
Pluralsight logo

Scala 2 Methods and Functions

Janani Ravi

Scala is emerging as a popular choice for working with large datasets and frameworks such as Spark. This course will teach you about Scala's support for first-class and higher-order functions and the differences between methods and functions.

Read more

Scala is emerging as a popular choice for working with large datasets and frameworks such as Spark. This course will teach you about Scala's support for first-class and higher-order functions and the differences between methods and functions.

Working with Big Data these days increasingly requires an understanding of functional programming constructs, because of how easily functional code can be distributed. Scala is a general-purpose programming language that runs on the JVM and supports both functional and object-oriented programming paradigms.

In this course, Scala Methods and Functions, you’ll learn to utilize those aspects of Scala that are specific to the functional programming paradigm.

First, you'll see how variables with different type modifiers are assigned and evaluated and you’ll understand the differences between Scala val, var, lazy val, and def keywords.

Next, you’ll discover the attributes of first-class functions, and the use of higher-order functions and partial functions in order to simplify code design.

Next, you’ll learn how to harness the power of features for Scala methods such as currying, recursion, named and positional arguments, and varargs.

Finally, you'll learn how to deal with missing values and errors in Scala and work with functional error handling idioms such as Try-Success-Failure, Option-Some-None, and Either-Right-Left.

When you’re finished with this course, you’ll have the skills and knowledge of functions and methods in Scala needed to write correct, concise, yet easily understandable code that combines the power of the functional programming paradigm with a strong static type system.

Enroll now

What's inside

Syllabus

Course Overview
Getting Started with Functions and Methods
Understanding and Implementing Functions
Understanding and Implementing Methods
Read more
Dealing with Exceptions and Missing Values

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Develops skills and knowledge in working with large datasets and frameworks, such as Spark, which are relevant in industry
Taught by Janani Ravi, who are recognized for their work in Scala
Teaches skills and knowledge in functional programming constructs, which are highly relevant in working with Big Data
Provides a strong foundation for beginners in Scala functional programming
Covers a comprehensive range of topics in Scala functions and methods

Save this course

Save Scala 2 Methods and Functions to your list so you can find it easily later:
Save

Activities

Coming soon We're preparing activities for Scala 2 Methods and Functions. These are activities you can do either before, during, or after a course.

Career center

Learners who complete Scala 2 Methods and Functions will develop knowledge and skills that may be useful to these careers:
Software Engineer
Software Engineers are responsible for developing, deploying, and maintaining software systems. This course, Scala Methods and Functions, would be particularly useful for those interested in working with Big Data frameworks such as Spark, as it covers the use of first-class and higher-order functions, as well as the differences between methods and functions in Scala.
Data Scientist
Data Scientists use their knowledge of statistics, programming, and machine learning to extract insights from data. This course would be beneficial for aspiring Data Scientists, as it provides a foundation in functional programming constructs, which are commonly used in Big Data applications.
Machine Learning Engineer
Machine Learning Engineers design, develop, and deploy machine learning models. This course would be helpful for those interested in pursuing a career in Machine Learning Engineering, as it covers the use of functional programming in building and optimizing machine learning systems.
Data Analyst
Data Analysts collect, analyze, and interpret data to help businesses make informed decisions. This course would be beneficial for Data Analysts who want to enhance their understanding of functional programming constructs, which can be useful in working with large and complex datasets.
Software Architect
Software Architects design and develop the overall architecture of software systems. This course would be helpful for Software Architects who want to learn more about functional programming principles, which can be used to design scalable and maintainable software systems.
Cloud Engineer
Cloud Engineers design, build, and manage cloud computing systems. This course would be helpful for Cloud Engineers who want to gain a better understanding of functional programming, which can be used to build efficient and scalable cloud applications.
Quantitative Analyst
Quantitative Analysts use mathematical and statistical models to analyze financial data. This course would be helpful for Quantitative Analysts who want to learn more about functional programming, which can be used to build complex financial models.
Systems Analyst
Systems Analysts design, develop, and implement computer systems. This course would be helpful for Systems Analysts who want to learn more about functional programming, which can be used to build efficient and reliable systems.
Information Security Analyst
Information Security Analysts protect computer systems and networks from unauthorized access. This course would be helpful for Information Security Analysts who want to learn more about functional programming, which can be used to build secure software systems.
Database Administrator
Database Administrators manage and maintain databases. This course would be helpful for Database Administrators who want to learn more about functional programming, which can be used to build efficient and scalable database systems.
Web Developer
Web Developers design and develop websites and web applications. This course may be useful for Web Developers who want to learn more about functional programming, which can be used to build high-performance and scalable web applications.
Mobile Developer
Mobile Developers design and develop mobile applications. This course may be useful for Mobile Developers who want to learn more about functional programming, which can be used to build high-performance and user-friendly mobile applications.
Game Developer
Game Developers design and develop video games. This course may be useful for Game Developers who want to learn more about functional programming, which can be used to build high-performance and engaging games.
Technical Writer
Technical Writers create and maintain technical documentation. This course may be useful for Technical Writers who want to learn more about functional programming, which can be used to write clear and concise technical documentation.
Business Analyst
Business Analysts analyze business needs and develop solutions to improve business processes. This course may be useful for Business Analysts who want to learn more about functional programming, which can be used to build efficient and effective business solutions.

Reading list

We've selected six books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Scala 2 Methods and Functions.
Provides a theoretical foundation for functional programming in Scala. It covers topics such as lambda calculus, type theory, and monads. It is suitable for experienced Scala developers looking to deepen their understanding of functional programming principles.
Covers a range of Scala topics with a functional programming focus. It is beginner-friendly and provides hands-on exercises. It can serve as a good starting point for those new to Scala and functional programming.
Provides a collection of recipes for common Scala programming tasks. It covers both functional and object-oriented programming techniques and can be useful as a reference for experienced Scala developers.
Explores the use of Scala for machine learning. It covers topics such as data wrangling, feature engineering, and model building. It can benefit those interested in applying Scala to machine learning tasks.
Provides a collection of recipes for common Scala programming tasks. It covers both functional and object-oriented programming techniques and can be useful as a reference for experienced Scala developers.
Covers a wide range of Scala topics, including functional programming. It provides a comprehensive overview and is suitable for both beginners and experienced Scala developers.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Scala 2 Methods and Functions.
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser