icon
Course Description

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 mods. 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 altertives 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.

icon
Instructor Details

Martin Odersky

Martin Odersky is a professor at EPFL in Lausanne, Switzerland. He has been working on programming languages for most of his career. He first studied structured and object-oriented programming as a PhD student of Niklaus Wirth, then fell in love with functional programming while working as a post doc at IBM and Yale. When Java came out, he started to add functional programming constructs to the new platform. This led to Pizza and GJ and eventually to Java 5 with generics. During that time he also developed javac, the current reference compiler for Java. Over the last 10 years, Martin worked on unifying object-oriented and functional programming in the Scala language.

icon
Reviews

4.1

439 total reviews

5 star 4 star 3 star 2 star 1 star
% Complete
% Complete
% Complete
% Complete
% Complete

By Abhinav P on 15-Dec-17

I was optimistic about this course based on the previous course, because that course was consistent, self-contained, and systematic. On the other hand, this course was clearly put together by throwing together, rather haphazardly, bits and pieces of other courses, some of which no longer even exist. This is outrageous; a course like this would never be taught at a prestigious institution like EPFL, and it is highly deceptive to give us a course, put together in a arbitrary, incoherent, Frankensteinish fashion, right after a course that was quite systematic and coherent.Week one and two were not bad, hence why I gave two stars instead of one. But week three involves a programming project that has literally nothing to do with the lectures at all. To be sure, I didn't mind learning about Scala Check, but I had to do it pretty much entirely on my own; it was mentioned for about five seconds in the lecture videos. If I wanted to just read documentation without any actual teaching, why would I sign up for a course like this?And week 4! Coursera/whoever put this course together isn't even trying anymore. The videos are clearly from multiple different courses, and Odersky himself makes references entire weeks worth of content that simply doesn't exist anymore. This is a damn mess. In its current state, the course is simply not worth publishing.For what its worth, the removed lecture videos can be found here: https://www.youtube.com/playlist?list=PLMhMDErmC1TdBMxd3KnRfYiBV2ELvLyxNBut these videos do not contain the removed exercises/programming projects, unfortunately.

By Gabriel G C on 9-Jan-19

It seems that this course was partially updated, but it was not done in a seamlessly way. I think this course deserve a full remake, if possible with the same instructor all the time.

By Shaul E on 1-Mar-18

The course starts well and has really good exercises, HOWEVER at weeks 3-4 the lectures lose their logical order, it feels like a collection of random lectures from other course syllabus that have been "reused" here.Week 3 exercise has very little to do with the lectures, and week 4 lectures are even worse, martin says he'll talk about 1 thing that is later not in the course, then we switch to someone else that talks about "things we've seen before" - which we haven't!Don't get me wrong, you can still learn a lot from this and understand most of it, but it just feels very unprofessional, glad I've only audited this course and didn't pay for it, if that was the case I would feel very disappointed

By GRINE B on 30-Jan-19

Very advanced courses scala thank you

By Rumeshkrishnan M on 31-Dec-18

I am very happy part of learning this course.

By Yi S on 7-Jan-19

a bit of hard, the concepts are abstract

By Ignacio G S on 10-Mar-19

Excellent course from the best professionals in the world. The Futures content should be tested as well.

By Subodh C on 25-Mar-19

The structure of course could be refined to be more coherent.

I want learn more about Scala. I find Someting interesting. Thank you, Mr Odersky.

By John S on 20-Feb-19

Very enjoyable course!

By Yacine G on 28-Dec-18

A very intricate and well designed course. I especially liked the assignments and programming labs!!!