Об этом курсе
4.5
Оценки: 2,327
Рецензии: 404
In this course you will learn how to apply the functional programming style in the design of larger applications. You'll get to know important new functional programming concepts, from lazy evaluation to structuring your libraries using monads. We'll work on larger and more involved examples, from state space exploration to random testing to discrete circuit simulators. You’ll also learn some best practices on how to write good Scala code in the real world. Several parts of this course deal with the question how functional programming interacts with mutable state. We will explore the consequences of combining functions and state. We will also look at purely functional alternatives to mutable state, using infinite data structures or functional reactive programming. Learning Outcomes. By the end of this course you will be able to: - recognize and apply design principles of functional programs, - design functional libraries and their APIs, - competently combine functions and state in one program, - understand reasoning techniques for programs that combine functions and state, - write simple functional reactive applications. Recommended background: You should have at least one year programming experience. Proficiency with Java or C# is ideal, but experience with other languages such as C/C++, Python, Javascript or Ruby is also sufficient. You should have some familiarity using the command line. This course is intended to be taken after Functional Programming Principles in Scala: https://www.coursera.org/learn/progfun1....
Globe

Только онлайн-курсы

Начните сейчас и учитесь по собственному графику.
Calendar

Гибкие сроки

Назначьте сроки сдачи в соответствии со своим графиком.
Intermediate Level

Промежуточный уровень

Clock

Approx. 12 hours to complete

Предполагаемая нагрузка: 5 hours/week...
Comment Dots

English

Субтитры: English...

Приобретаемые навыки

StreamsFunctional DesignReactive ProgrammingFunctional Programming
Globe

Только онлайн-курсы

Начните сейчас и учитесь по собственному графику.
Calendar

Гибкие сроки

Назначьте сроки сдачи в соответствии со своим графиком.
Intermediate Level

Промежуточный уровень

Clock

Approx. 12 hours to complete

Предполагаемая нагрузка: 5 hours/week...
Comment Dots

English

Субтитры: English...

Программа курса: что вы изучите

Week
1
Clock
8 ч. на завершение

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 видео (всего 164 мин.), 11 материалов для самостоятельного изучения, 1 тест
Video10 видео
Tools Setup for Mac OS X21мин
Tools for Setup for Windows18мин
Tutorial: Working on the Programming Assignments8мин
Recap: Functions and Pattern Matching19мин
Recap: Collections12мин
Lecture 1.1 - Queries with For7мин
Lecture 1.2 - Translation of For11мин
Lecture 1.3 - Functional Random Generators19мин
Lecture 1.4 - Monads20мин
Reading11 материала для самостоятельного изучения
Troubleshooting10мин
Grading Policy10мин
Tools Setup10мин
Sbt Tutorial10мин
Eclipse Tutorial10мин
Intellij IDEA Tutorial10мин
Scala Tutorial10мин
Cheat Sheet10мин
Reactive Cheat Sheet10мин
Scala Style Guide10мин
Learning Resources10мин
Week
2
Clock
7 ч. на завершение

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 видео (всего 80 мин.), 2 тестов
Video5 видео
Lecture 2.2 - Streams12мин
Lecture 2.3 - Lazy Evaluation11мин
Lecture 2.4 - Computing with Infinite Sequences9мин
Lecture 2.5 - Case Study: the Water Pouring Problem31мин
Week
3
Clock
7 ч. на завершение

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 видео (всего 72 мин.), 2 тестов
Video6 видео
Lecture 3.2 - Identity and Change8мин
Lecture 3.3 - Loops8мин
Lecture 3.4 - Extended Example: Discrete Event Simulation10мин
Lecture 3.5 - Discrete Event Simulation: API and Usage10мин
Lecture 3.6 - Discrete Event Simulation: Implementation and Test18мин
Week
4
Clock
8 ч. на завершение

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 видео (всего 109 мин.), 2 тестов
Video11 видео
Lecture 4.2 - Functional Reactive Programming20мин
Lecture 4.3 - A Simple FRP Implementation19мин
Lecture 4.4 - Latency as an Effect 17мин
Lecture 4.5 - Latency as an Effect 212мин
Lecture 4.6 - Combinators on Futures 19мин
Lecture 4.7 - Combinators on Futures 27мин
Lecture 4.8 - Composing Futures 14мин
Lecture 4.9 - Implementation of flatMap on Future3мин
Lecture 4.10 - Composing Futures 28мин
Conclusion4мин
4.5
Direction Signs

41%

начал новую карьеру, пройдя эти курсы
Briefcase

83%

получил значимые преимущества в карьере благодаря этому курсу

Лучшие рецензии

автор: 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!

автор: 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.

Преподаватель

Martin Odersky

Professor
Computer Science

О École Polytechnique Fédérale de Lausanne

О специализации ''Functional Programming in Scala'

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

Часто задаваемые вопросы

  • Зарегистрировавшись на сертификацию, вы получите доступ ко всем видео, тестам и заданиям по программированию (если они предусмотрены). Задания по взаимной оценке сокурсниками можно сдавать и проверять только после начала сессии. Если вы проходите курс без оплаты, некоторые задания могут быть недоступны.

  • Записавшись на курс, вы получите доступ ко всем курсам в специализации, а также возможность получить сертификат о его прохождении. После успешного прохождения курса на странице ваших достижений появится электронный сертификат. Оттуда его можно распечатать или прикрепить к профилю LinkedIn. Просто ознакомиться с содержанием курса можно бесплатно.

Остались вопросы? Посетите Центр поддержки учащихся.