This course is an introduction to the basic concepts of programming languages, with a strong emphasis on functional programming. The course uses the languages ML, Racket, and Ruby as vehicles for teaching the concepts, but the real intent is to teach enough about how any language “fits together” to make you more effective programming in any language -- and in learning new ones.
This course is neither particularly theoretical nor just about programming specifics -- it will give you a framework for understanding how to use language constructs effectively and how to design correct and elegant programs. By using different languages, you will learn to think more deeply than in terms of the particular syntax of one language. The emphasis on functional programming is essential for learning how to write robust, reusable, composable, and elegant programs. Indeed, many of the most important ideas in modern languages have their roots in functional programming. Get ready to learn a fresh and beautiful way to look at software and how to have fun building it.
The course assumes some prior experience with programming, as described in more detail in the first module.
The course is divided into three Coursera courses: Part A, Part B, and Part C. As explained in more detail in the first module of Part A, the overall course is a substantial amount of challenging material, so the three-part format provides two intermediate milestones and opportunities for a pause before continuing. The three parts are designed to be completed in order and set up to motivate you to continue through to the end of Part C. The three parts are not quite equal in length: Part A is almost as substantial as Part B and Part C combined.
Week 1 of Part A has a more detailed list of topics for all three parts of the course, but it is expected that most course participants will not (yet!) know what all these topics mean.
Introduction and Course-Wide Information (Start Here)
-Welcome! Start here! Learn about this course and how it's organized.
Software Installation and Homework 0
-This module contains two things: (1) The information for the [unusual] software you need to install for Programming Languages Part A. (2) An optional "fake" homework that you can turn in for auto-grading and peer assessment to get used to the mechanics of assignment turn-in that we will use throughout the course. You can do this module either before or after watching the first few "actual course content" videos in the next module, but you will want to get the software installed soon so you can learn by actively trying out variations on the code in the videos. You will need to install the software to do the homework.
Section 1 and Homework 1
-It's time to dive in! Start with a careful reading of the "Section 1 Welcome Message" and go from there.
Section 2 and Homework 2
-This section is a particularly rewarding one where a lot of ideas come together to reveal a surprisingly elegant underlying structure in ML. As usual, start with the welcome reading, dive into the material, and leave plenty of time to approach the programming assignment methodically.
Section 3 and Homework 3 -- and Course Motivation
-This section is all about higher-order functions -- the feature that gives functional programming much of its expressiveness and elegance -- and its name! As usual, the first reading below introduces you to the section, but it will make more sense once you dive in to the lectures.
Also be sure not to miss the material on course motivation that we have put in a "lesson" between the other videos for this week and the homework assignment. The material is "optional" in the sense that it is not needed for the homeworks or next week's exam, but it is still very highly encouraged to better understand why the course (including Parts B and C) covers what it does and, hopefully, will change the way you look at software forever.
Section 4 and Part-A Exam
-We finish Part A of the course with this module. As explained in more detail in the welcome message, we discuss type inference, ML's module system, and the fundamental idea in computing of two computations being equivalent. There is no programming assignment -- instead there is an exam covering all of Part A. Finally, there is a brief wrap-up video for the end of Part A that also looks ahead to Part B and Part C -- we have put it after the exam, so don't overlook it.
Mayank Jain completed this course, spending 15 hours a week on it and found the course difficulty to be very hard.
Wow! This was the hardest course I've ever taken in my entire Life! The course is really demanding (Specially if you are trying to solve the bonus questions!) But it was so worth it! Dan Grossman is one THE best teachers in the world hands down! It is...
Wow! This was the hardest course I've ever taken in my entire Life! The course is really demanding (Specially if you are trying to solve the bonus questions!) But it was so worth it! Dan Grossman is one THE best teachers in the world hands down! It is one thing to know stuff and another to teach it well. Dan is both! Not only his knowledge is excellent he has no bias on what is best. He knows exactly what are the pros/cons of various programming languages and this course teaches you that very well.
You get to build a Type Checker in ML, you get to make your own programming language in Racket and you get to finish an uncompleted Tetris game in Ruby. All of that in one course.
Why 3 different languages?
Coz each of them covers different aspects of programming paradigms.
I highly Highly HIGHLY recommend you take this course and just give your everything in it. If you can, do try solving the bonus questions, they are really tough, specially the bonus type checker question took me whole 2-3 days to figure out what am I suppose to do. But when you are done you get that AHA moment!
An in all, this is a great great course!
Bruno Lehouque completed this course, spending 10 hours a week on it and found the course difficulty to be hard.
This is definitely one of the best courses available on Coursera. Very challenging and time consuming (not for beginners), but it will without doubt make you a better programmer.
The course uses SML, Racket an Ruby to teach you about concepts that can be applied to any programming languages. So, even if you don't know these 3 languages, the knowledge you acquire can easily be applied to any of your favorite languages.
Dan is an amazing teacher. If you're a serious programmer, you MUST take this course!
Amen Mohamed Nuri is taking this course right now, spending 12 hours a week on it and found the course difficulty to be very easy.
hello my name is amen muhamad nuri and im23 years old and i study in college of commerce and my department (international commerce )and i from sulaimania city of kurdistan region iraq , iwant learn english because language deparment full english and my language kurdish and language iraq arabic , my very importance learn language english because language business to the word mostly english to export and import and It is important for me to have information on business in the world and most of the information is in English and I would like to thank you.
Anonymous completed this course.
'The' course to learn "programming".
If you want a mind bending experience, just take this course!
You get to write a Type Checker, A small interpreter, and a tetris game, using SML, Racket and Ruby respectively in 10 weeks. Moreover, Dan is an amazing teacher!
Easily one of the best courses I have ever taken. It provided me with the mental framework to be able to learn new languages quickly and be a better programmer overall. I would highly recommend it if you are serious about a career in software engineering.
Anonymous completed this course.
Highly recommended for everyone interested in programming. Relevant not only for students, but also for experienced software developers.
A lot of things to learn here.
I struggled through and got 85%, and took forever to do it. I love the way he lays it out, it's a great framework for understanding programming languages altogether, just like it says on the tin.
Tanzim Mokammel completed this course and found the course difficulty to be hard.
This set of courses (A,B,C) are absolutely fantastic. The passion in Dan Grossman's lectures are enough of a selling point. As an electrical engineer turned full stack developer, I've often found it difficult to keep up with the overwhelming amount of...
This set of courses (A,B,C) are absolutely fantastic. The passion in Dan Grossman's lectures are enough of a selling point. As an electrical engineer turned full stack developer, I've often found it difficult to keep up with the overwhelming amount of languages, frameworks, paradigms the industry expects you to know. However, with this gem of a course, I feel much more confident in my fundamental understanding of programming languages. Navigating between languages and frameworks has now become a much easier task, because they all share the same roots thoroughly explained in this course.
The lectures are fantastic, the course notes are extremely useful, and boy are the assignments challenging.
All in all, I'd totally recommend this course to anyone even remotely interested in computer science, or in the industry.