课程信息
199,994 次近期查看

第 1 门课程(共 5 门)

100% 在线

立即开始,按照自己的计划学习。

可灵活调整截止日期

根据您的日程表重置截止日期。

中级

At least one year of programming (in any language)

完成时间大约为23 小时

建议:5 hours / week...

英语(English)

字幕:英语(English), 韩语, 塞尔维亚语, 法语(French)

您将学到的内容有

  • Check

    Understand the principles of functional programming

  • Check

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

  • Check

    Design immutable data structures

  • Check

    Combine functional programming with objects and classes

您将获得的技能

RecursionScala ProgrammingArray ProgrammingFunctional Programming

第 1 门课程(共 5 门)

100% 在线

立即开始,按照自己的计划学习。

可灵活调整截止日期

根据您的日程表重置截止日期。

中级

At least one year of programming (in any language)

完成时间大约为23 小时

建议:5 hours / week...

英语(English)

字幕:英语(English), 韩语, 塞尔维亚语, 法语(French)

教学大纲 - 您将从这门课程中学到什么

1
完成时间为 13 小时

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 个视频 (总计 139 分钟), 8 个阅读材料, 4 个测验
11 个视频
Tools Setup for Linux22分钟
Tools Setup for Mac OS X21分钟
Tools Setup for Windows18分钟
Lecture 1.1 - Programming Paradigms14分钟
Lecture 1.2 - Elements of Programming14分钟
Lecture 1.3 - Evaluation Strategies and Termination4分钟
Lecture 1.4 - Conditionals and Value Definitions8分钟
Lecture 1.5 - Example: square roots with Newton's method11分钟
Lecture 1.6 - Blocks and Lexical Scope8分钟
Lecture 1.7 - Tail Recursion12分钟
8 个阅读材料
Tools Setup (Please read)10分钟
Cheat Sheet10分钟
IntelliJ IDEA Tutorial10分钟
Eclipse Tutorial10分钟
SBT tutorial and Submission of Assignments (Please read)10分钟
Learning Resources10分钟
Scala Tutorial10分钟
Scala Style Guide10分钟
1 个练习
Learning check-in2分钟
2
完成时间为 7 小时

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 个视频 (总计 84 分钟), 2 个测验
7 个视频
Lecture 2.2 - Currying14分钟
Lecture 2.3 - Example: Finding Fixed Points10分钟
Lecture 2.4 - Scala Syntax Summary4分钟
Lecture 2.5 - Functions and Data11分钟
Lecture 2.6 - More Fun With Rationals15分钟
Lecture 2.7 - Evaluation and Operators16分钟
3
完成时间为 7 小时

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 个视频 (总计 66 分钟), 2 个测验
3 个视频
Lecture 3.2 - How Classes Are Organized20分钟
Lecture 3.3 - Polymorphism21分钟
4
完成时间为 8 小时

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 个视频 (总计 117 分钟), 2 个测验
7 个视频
Lecture 4.2 - Functions as Objects8分钟
Lecture 4.3 - Subtyping and Generics15分钟
Lecture 4.4 - Variance (Optional)21分钟
Lecture 4.5 - Decomposition16分钟
Lecture 4.6 - Pattern Matching19分钟
Lecture 4.7 - Lists16分钟
5
完成时间为 1 小时

Lists

This week we dive into Lists, the most commonly-used data structure in Scala.

...
7 个视频 (总计 88 分钟)
7 个视频
Lecture 5.2 - Pairs and Tuples10分钟
Lecture 5.3 - Implicit Parameters11分钟
Lecture 5.4 - Higher-Order List Functions14分钟
Lecture 5.5 - Reduction of Lists15分钟
Lecture 5.6 - Reasoning About Concat13分钟
Lecture 5.7 - A Larger Equational Proof on Lists9分钟
6
完成时间为 8 小时

Collections

After a deep-dive into Lists, this week we'll explore other data structures; vectors, maps, ranges, arrays, and more. We'll dive into Scala's powerful and flexible for-comprehensions for querying data.

...
6 个视频 (总计 99 分钟), 2 个测验
6 个视频
Lecture 6.2 - Combinatorial Search and For-Expressions13分钟
Lecture 6.3 - Combinatorial Search Example16分钟
Lecture 6.4 - Maps22分钟
Lecture 6.5 - Putting the Pieces Together20分钟
Conclusion4分钟
4.8
1,241 个审阅Chevron Right

29%

完成这些课程后已开始新的职业生涯

26%

通过此课程获得实实在在的工作福利

11%

加薪或升职

来自Scala 函数式程序设计原理的热门评论

创建者 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.

创建者 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.)

讲师

Avatar

Martin Odersky

Professor
Computer Science

关于 洛桑联邦理工学院

关于 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

常见问题

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

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

还有其他问题吗?请访问 学生帮助中心