課程信息
4.5
2,352 個評分
409 個審閱
專項課程

第 2 門課程(共 5 門),位於

100% 在線

100% 在線

立即開始,按照自己的計劃學習。
可靈活調整截止日期

可靈活調整截止日期

根據您的日程表重置截止日期。
中級

中級

完成時間(小時)

完成時間大約為13 小時

建議:5 hours/week...
可選語言

英語(English)

字幕:英語(English)...

您將獲得的技能

StreamsFunctional DesignReactive ProgrammingFunctional Programming
專項課程

第 2 門課程(共 5 門),位於

100% 在線

100% 在線

立即開始,按照自己的計劃學習。
可靈活調整截止日期

可靈活調整截止日期

根據您的日程表重置截止日期。
中級

中級

完成時間(小時)

完成時間大約為13 小時

建議:5 hours/week...
可選語言

英語(English)

字幕:英語(English)...

教學大綱 - 您將從這門課程中學到什麼

1
完成時間(小時)
完成時間為 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分鐘
2
完成時間(小時)
完成時間為 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分鐘
3
完成時間(小時)
完成時間為 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分鐘
4
完成時間(小時)
完成時間為 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
409 個審閱Chevron Right
職業方向

41%

完成這些課程後已開始新的職業生涯
工作福利

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.

講師

Avatar

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

常見問題

  • 注册以便获得证书后,您将有权访问所有视频、测验和编程作业(如果适用)。只有在您的班次开课之后,才可以提交和审阅同学互评作业。如果您选择在不购买的情况下浏览课程,可能无法访问某些作业。

  • 您注册课程后,将有权访问专项课程中的所有课程,并且会在完成课程后获得证书。您的电子课程证书将添加到您的成就页中,您可以通过该页打印您的课程证书或将其添加到您的领英档案中。如果您只想阅读和查看课程内容,可以免费旁听课程。

還有其他問題嗎?請訪問 學生幫助中心