About this Course
4.5
2,376 ratings
413 reviews
Specialization
100% online

100% online

Start instantly and learn at your own schedule.
Flexible deadlines

Flexible deadlines

Reset deadlines in accordance to your schedule.
Intermediate Level

Intermediate Level

Hours to complete

Approx. 13 hours to complete

Suggested: 5 hours/week...
Available languages

English

Subtitles: English

Skills you will gain

StreamsFunctional DesignReactive ProgrammingFunctional Programming
Specialization
100% online

100% online

Start instantly and learn at your own schedule.
Flexible deadlines

Flexible deadlines

Reset deadlines in accordance to your schedule.
Intermediate Level

Intermediate Level

Hours to complete

Approx. 13 hours to complete

Suggested: 5 hours/week...
Available languages

English

Subtitles: English

Syllabus - What you will learn from this course

Week
1
Hours to complete
8 hours to complete

For Expressions and Monads

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....
Reading
10 videos (Total 164 min), 11 readings, 1 quiz
Video10 videos
Tools Setup for Mac OS X21m
Tools for Setup for Windows18m
Tutorial: Working on the Programming Assignments8m
Recap: Functions and Pattern Matching19m
Recap: Collections12m
Lecture 1.1 - Queries with For7m
Lecture 1.2 - Translation of For11m
Lecture 1.3 - Functional Random Generators19m
Lecture 1.4 - Monads20m
Reading11 readings
Troubleshooting10m
Grading Policy10m
Tools Setup10m
Sbt Tutorial10m
Eclipse Tutorial10m
Intellij IDEA Tutorial10m
Scala Tutorial10m
Cheat Sheet10m
Reactive Cheat Sheet10m
Scala Style Guide10m
Learning Resources10m
Week
2
Hours to complete
7 hours to complete

Lazy Evaluation

This week we'll revisit performance issues caused by combinatorial search, and we'll discover an important concept in functional programming that can 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....
Reading
5 videos (Total 80 min), 2 quizzes
Video5 videos
Lecture 2.2 - Streams12m
Lecture 2.3 - Lazy Evaluation11m
Lecture 2.4 - Computing with Infinite Sequences9m
Lecture 2.5 - Case Study: the Water Pouring Problem31m
Week
3
Hours to complete
7 hours to complete

Functions and State

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....
Reading
6 videos (Total 72 min), 2 quizzes
Video6 videos
Lecture 3.2 - Identity and Change8m
Lecture 3.3 - Loops8m
Lecture 3.4 - Extended Example: Discrete Event Simulation10m
Lecture 3.5 - Discrete Event Simulation: API and Usage10m
Lecture 3.6 - Discrete Event Simulation: Implementation and Test18m
Week
4
Hours to complete
8 hours to complete

Timely Effects

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. We'll learn how latency can be modeled as an effect, and how latency can be handled with Scala's monadic futures. We'll learn the important combinators on futures as well as how they can be composed to build up rich and responsive services....
Reading
11 videos (Total 109 min), 2 quizzes
Video11 videos
Lecture 4.2 - Functional Reactive Programming20m
Lecture 4.3 - A Simple FRP Implementation19m
Lecture 4.4 - Latency as an Effect 17m
Lecture 4.5 - Latency as an Effect 212m
Lecture 4.6 - Combinators on Futures 19m
Lecture 4.7 - Combinators on Futures 27m
Lecture 4.8 - Composing Futures 14m
Lecture 4.9 - Implementation of flatMap on Future3m
Lecture 4.10 - Composing Futures 28m
Conclusion4m
4.5
413 ReviewsChevron Right
Career direction

41%

started a new career after completing these courses
Career Benefit

83%

got a tangible career benefit from this course

Top Reviews

By RPSep 15th 2016

This is a university degree course which takes enormous effort to complete. But still its beond the programming course range giving you whats not possible to google or learn practical way. Thanks!

By ESMar 18th 2018

Thank you for this exciting course! I did the FP in Scala course a few years ago and decided to do the full certification now. I am looking forward to the next courses in the specialisation.

Instructor

Avatar

Martin Odersky

Professor
Computer Science

About École Polytechnique Fédérale de Lausanne

About the Functional Programming in Scala Specialization

Discover how to write elegant code that works the first time it is run. This Specialization provides a hands-on introduction to functional programming using the widespread programming language, Scala. It begins from the basic building blocks of the functional paradigm, first showing how to use these blocks to solve small problems, before building up to combining these concepts to architect larger functional programs. You'll see how the functional paradigm facilitates parallel and distributed programming, and through a series of hands on examples and programming assignments, you'll learn how to analyze data sets small to large; from parallel programming on multicore architectures, to distributed programming on a cluster using Apache Spark. A final capstone project will allow you to apply the skills you learned by building a large data-intensive application using real-world data....
Functional Programming in Scala

Frequently Asked Questions

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

More questions? Visit the Learner Help Center.