202,377 recent views

#### 100% online

Start instantly and learn at your own schedule.

#### Intermediate Level

At least one year of programming (in any language)

#### English

Subtitles: English, Korean, Serbian, French

### What you will learn

• Understand the principles of functional programming

• Write purely functional programs, using recursion, pattern matching, and higher-order functions

• Design immutable data structures

• Combine functional programming with objects and classes

### Skills you will gain

RecursionScala ProgrammingArray ProgrammingFunctional Programming

#### 100% online

Start instantly and learn at your own schedule.

#### Intermediate Level

At least one year of programming (in any language)

#### English

Subtitles: English, Korean, Serbian, French

### Syllabus - What you will learn from this course

Week
1
13 hours to complete

## Getting Started + Functions & Evaluation

Get up and running with Scala on your computer. Complete an example assignment to familiarize yourself with our unique way of submitting assignments. In this week, we'll learn the difference between functional imperative programming. We step through the basics of Scala; covering expressions, evaluation, conditionals, functions, and recursion

...
11 videos (Total 139 min), 8 readings, 4 quizzes
11 videos
Tools Setup for Windows18m
Lecture 1.2 - Elements of Programming14m
Lecture 1.3 - Evaluation Strategies and Termination4m
Lecture 1.4 - Conditionals and Value Definitions8m
Lecture 1.5 - Example: square roots with Newton's method11m
Lecture 1.6 - Blocks and Lexical Scope8m
Lecture 1.7 - Tail Recursion12m
Cheat Sheet10m
IntelliJ IDEA Tutorial10m
Eclipse Tutorial10m
Learning Resources10m
Scala Tutorial10m
Scala Style Guide10m
1 practice exercise
Learning check-in2m
Week
2
7 hours to complete

## Higher Order Functions

This week, we'll learn about functions as first-class values, and higher order functions. We'll also learn about Scala's syntax and how it's formally defined. Finally, we'll learn about methods, classes, and data abstraction through the design of a data structure for rational numbers.

...
7 videos (Total 84 min), 2 quizzes
7 videos
Lecture 2.4 - Scala Syntax Summary4m
Lecture 2.5 - Functions and Data11m
Lecture 2.6 - More Fun With Rationals15m
Lecture 2.7 - Evaluation and Operators16m
Week
3
7 hours to complete

## Data and Abstraction

This week, we'll cover traits, and we'll learn how to organize classes into hierarchies. We'll cover the hierarchy of standard Scala types, and see how to organize classes and traits into packages. Finally, we'll touch upon the different sorts of polymorphism in Scala.

...
3 videos (Total 66 min), 2 quizzes
Week
4
8 hours to complete

## Types and Pattern Matching

This week we'll learn about the relationship between functions and objects in Scala; functions *are* objects! We'll zoom in on Scala's type system, covering subtyping and generics, and moving on to more advanced aspects of Scala's type system like variance. Finally, we'll cover Scala's most widely used data structure, Lists, and one of Scala's most powerful tools, pattern matching.

...
7 videos (Total 117 min), 2 quizzes
7 videos
Lecture 4.4 - Variance (Optional)21m
Lecture 4.5 - Decomposition16m
Lecture 4.6 - Pattern Matching19m
Lecture 4.7 - Lists16m
4.8
1241 Reviews

## 29%

started a new career after completing these courses

## 26%

got a tangible career benefit from this course

## 11%

got a pay increase or promotion

### Top reviews from Functional Programming Principles in Scala

By RSOct 9th 2016

Really good explanation by the instructor. Good assignments. The assignments gave a good insights into functional programming. I loved the way the problems were decomposed into neat smaller functions.

By GBAug 13th 2017

An excellent introduction to the concepts of functional programming that had the "side-effect" of getting me hooked on the language! (Even though the hipster in me really wanted to prefer Clojure.)

Professor
Computer Science

## 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....