À propos de ce cours
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

Cours en ligne à 100 %

Commencez dès maintenant et apprenez aux horaires qui vous conviennent.
Calendar

Dates limites flexibles

Réinitialisez les dates limites selon votre disponibilité.
Intermediate Level

Niveau intermédiaire

Clock

Recommandé : 5 hours/week

Approx. 23 heures pour terminer
Comment Dots

English

Sous-titres : English, Korean, Serbian, French

Compétences que vous acquerrez

Functional ProgrammingScala ProgrammingArray ProgrammingRecursion
Globe

Cours en ligne à 100 %

Commencez dès maintenant et apprenez aux horaires qui vous conviennent.
Calendar

Dates limites flexibles

Réinitialisez les dates limites selon votre disponibilité.
Intermediate Level

Niveau intermédiaire

Clock

Recommandé : 5 hours/week

Approx. 23 heures pour terminer
Comment Dots

English

Sous-titres : English, Korean, Serbian, French

Programme du cours : ce que vous apprendrez dans ce cours

1

Section
Clock
13 heures pour terminer

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 vidéos (Total 139 min), 8 lectures, 4 quiz
Video11 vidéos
Tools Setup for Linux22 min
Tools Setup for Mac OS X21 min
Tools Setup for Windows18 min
Lecture 1.1 - Programming Paradigms14 min
Lecture 1.2 - Elements of Programming14 min
Lecture 1.3 - Evaluation Strategies and Termination4 min
Lecture 1.4 - Conditionals and Value Definitions8 min
Lecture 1.5 - Example: square roots with Newton's method11 min
Lecture 1.6 - Blocks and Lexical Scope8 min
Lecture 1.7 - Tail Recursion12 min
Reading8 lectures
Tools Setup (Please read)10 min
Cheat Sheet10 min
IntelliJ IDEA Tutorial10 min
Eclipse Tutorial10 min
SBT tutorial and Submission of Assignments (Please read)10 min
Learning Resources10 min
Scala Tutorial10 min
Scala Style Guide10 min
Quiz1 exercice pour s'entraîner
Learning check-in2 min

2

Section
Clock
7 heures pour terminer

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 vidéos (Total 84 min), 2 quiz
Video7 vidéos
Lecture 2.2 - Currying14 min
Lecture 2.3 - Example: Finding Fixed Points10 min
Lecture 2.4 - Scala Syntax Summary4 min
Lecture 2.5 - Functions and Data11 min
Lecture 2.6 - More Fun With Rationals15 min
Lecture 2.7 - Evaluation and Operators16 min

3

Section
Clock
7 heures pour terminer

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 vidéos (Total 66 min), 2 quiz
Video3 vidéos
Lecture 3.2 - How Classes Are Organized20 min
Lecture 3.3 - Polymorphism21 min

4

Section
Clock
8 heures pour terminer

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 vidéos (Total 117 min), 2 quiz
Video7 vidéos
Lecture 4.2 - Functions as Objects8 min
Lecture 4.3 - Subtyping and Generics15 min
Lecture 4.4 - Variance (Optional)21 min
Lecture 4.5 - Decomposition16 min
Lecture 4.6 - Pattern Matching19 min
Lecture 4.7 - Lists16 min
4.8
Direction Signs

27%

a commencé une nouvelle carrière après avoir terminé ces cours
Briefcase

83%

a bénéficié d'un avantage concret dans sa carrière grâce à ce cours
Money

11%

a obtenu une augmentation de salaire ou une promotion

Meilleurs avis

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

par 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.)

Enseignant

Martin Odersky

Professor
Computer Science

À propos de École Polytechnique Fédérale de Lausanne

À propos de la Spécialisation 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

Foire Aux Questions

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

D'autres questions ? Visitez le Centre d'Aide pour les Etudiants.