École Polytechnique Fédérale de Lausanne

Functional Program Design in Scala

This course is part of Functional Programming in Scala Specialization

Taught in English

Some content may not be translated

Martin Odersky

Instructor: Martin Odersky

60,851 already enrolled

Included with Coursera Plus

Course

Gain insight into a topic and learn the fundamentals

4.5

(3,131 reviews)

|

88%

Intermediate level
Some related experience required
35 hours (approximately)
Flexible schedule
Learn at your own pace

What you'll learn

  • Recognize and apply design principles of functional programs

  • Design functional libraries and their APIs

  • Write simple functional reactive applications

  • Understand reasoning techniques for programs that combine functions and state

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

3 quizzes

Course

Gain insight into a topic and learn the fundamentals

4.5

(3,131 reviews)

|

88%

Intermediate level
Some related experience required
35 hours (approximately)
Flexible schedule
Learn at your own pace

See how employees at top companies are mastering in-demand skills

Placeholder

Build your subject-matter expertise

This course is part of the Functional Programming in Scala Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 5 modules in this course

We'll start by revisiting some concepts that we have learned from Principles of Functional Programming in Scala; collections, pattern matching, and functions. We'll then touch on for-comprehensions, a powerful way in Scala to traverse a list, process it, and return a new list. We'll see how to do queries with for-comprehensions as well as how the for-comprehension is "desugared" into calls to higher-order functions by the Scala compiler. Finally, we'll discuss what monads are, and how to verify that the monad laws are satisfied for a number of examples.

What's included

8 videos8 readings3 programming assignments

This week we'll revisit performance issues caused by combinatorial search, and we'll discover an important concept in functional programming that can address these issues: laziness. We'll also learn a little bit about proofs on trees; in particular, we'll see how to extend structural induction to trees.

What's included

6 videos2 programming assignments

This week, we’ll learn how to make the compiler write programs for us! We’ll see how the compiler can summon program fragments based on their type and how this mechanism can be used to implement a new form of polymorphism (type classes).

What's included

7 videos5 readings3 quizzes2 programming assignments

This week, we'll learn about state and side-effects. Through a rich example, we'll learn programming patterns for managing state in larger programs. We'll also learn about for-loops and while-loops in Scala.

What's included

5 videos

This week we'll learn a number of important programming patterns via examples, starting with the observer pattern, and then going on to functional reactive programming.

What's included

6 videos2 programming assignments

Instructor

Instructor ratings
4.7 (108 ratings)
Martin Odersky
École Polytechnique Fédérale de Lausanne
6 Courses229,570 learners

Recommended if you're interested in Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

Showing 3 of 3131

4.5

3,131 reviews

  • 5 stars

    66.33%

  • 4 stars

    24.02%

  • 3 stars

    7.56%

  • 2 stars

    1.62%

  • 1 star

    0.44%

OS
4

Reviewed on Jun 2, 2017

AL
5

Reviewed on Sep 2, 2021

ES
5

Reviewed on Feb 11, 2022

New to Software Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions