课程信息
4.8
5,254 ratings
1,084 reviews
Functional programming is becoming increasingly widespread in industry. This trend is driven by the adoption of Scala as the main programming language for many applications. Scala fuses functional and object-oriented programming in a practical package. It interoperates seamlessly with both Java and Javascript. Scala is the implementation language of many important frameworks, including Apache Spark, Kafka, and Akka. It provides the core infrastructure for sites such as Twitter, Tumblr and also Coursera. In this course you will discover the elements of the functional programming style and learn how to apply them usefully in your daily programming tasks. You will also develop a solid foundation for reasoning about functional programs, by touching upon proofs of invariants and the tracing of execution symbolically. The course is hands on; most units introduce short programs that serve as illustrations of important concepts and invite you to play with them, modifying and improving them. The course is complemented by a series programming projects as homework assignments. Learning Outcomes. By the end of this course you will be able to: - understand the principles of functional programming, - write purely functional programs, using recursion, pattern matching, and higher-order functions, - combine functional programming with objects and classes, - design immutable data structures, - reason about properties of functions, - understand generic types for functional programs 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....
Globe

100% 在线课程

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

可灵活调整截止日期

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

中级

Clock

建议:5 hours/week

完成时间大约为23 小时
Comment Dots

English

字幕:English, Korean, Serbian, French

您将获得的技能

Functional ProgrammingScala ProgrammingArray ProgrammingRecursion
Globe

100% 在线课程

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

可灵活调整截止日期

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

中级

Clock

建议:5 hours/week

完成时间大约为23 小时
Comment Dots

English

字幕:English, Korean, Serbian, French

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

1

章节
Clock
完成时间为 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...
Reading
11 个视频(共 139 分钟), 8 个阅读材料, 4 个测验
Video11 个视频
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分钟
Reading8 个阅读材料
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分钟
Quiz1 个练习
Learning check-in2分钟

2

章节
Clock
完成时间为 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....
Reading
7 个视频(共 84 分钟), 2 个测验
Video7 个视频
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

章节
Clock
完成时间为 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....
Reading
3 个视频(共 66 分钟), 2 个测验
Video3 个视频
Lecture 3.2 - How Classes Are Organized20分钟
Lecture 3.3 - Polymorphism21分钟

4

章节
Clock
完成时间为 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....
Reading
7 个视频(共 117 分钟), 2 个测验
Video7 个视频
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分钟
4.8
Direction Signs

27%

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

83%

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

11%

加薪或升职

热门审阅

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

讲师

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

常见问题

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

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