- Level Foundation
- المدة 18 ساعات hours
- الطبع بواسطة University of Washington
-
Offered by
عن
[As described below, this is Part C of a 3-part course. Participants should complete Parts A and B first -- Part C "dives right in" and refers often to material from Part A and Part B.] 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 of Part A. Part B assumes successful completion of Part A. 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. 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.الوحدات
Course Information and Overview
3
Videos
- Welcome to Part C
- Overview of Part C Concepts
- Part C Course Structure
1
Readings
- Start Here!
Software Installation
2
Readings
- Part C Software Installation and Use: Ruby and irb
- Installing and Using SML and Emacs
Section-Wide Items
3
Readings
- Section 8 Welcome Message
- Section 8 Reading Notes
- Code Files for All Section 8 Videos
Video Lectures
19
Videos
- Introduction to Ruby
- Classes and Objects
- Object State
- Visibility
- A Longer Example
- Everything is an Object
- Class Definitions are Dynamic
- Duck Typing
- Arrays
- Blocks
- Using Blocks
- Procs
- Hashes and Ranges
- Subclassing
- Why Use Subclassing?
- Overriding and Dynamic Dispatch
- Method-Lookup Rules, Precisely
- Dynamic Dispatch Versus Closures
- Optional: Dynamic Dispatch Manually in Racket
Homework 6 Instructions
2
Readings
- Explanation of "Lesson Choices"
- Homework 6 Instructions
Homework 6 Peer Review
1
Peer Review
- Homework 6 Peer Review
Community-Contributed Resources
1
Readings
- Practice Problems for Another Game in Ruby
Homework 6 (Ruby 2.0)
- Homework 6 (Ruby 2.0)
1
Readings
- Homework 6 Detailed Peer-Assessment Instructions
Homework 6 (Ruby 2.1)
- Homework 6 (Ruby 2.1)
1
Readings
- Homework 6 Detailed Guidelines for Peer Assessment
Homework 6 (Ruby 2.2)
- Homework 6 (Ruby 2.2)
1
Readings
- Homework 6 Detailed Guidelines for Peer Assessment
Homework 6 (Ruby 2.3)
- Homework 6 (Ruby 2.3)
1
Readings
- Homework 6 Detailed Guidelines for Peer Assessment
Section-wide Materials
3
Readings
- Section 9 Welcome Message
- Section 9 Reading Notes
- Code Files for All Section 9 Videos
Video Lectures
9
Videos
- OOP Versus Functional Decomposition
- Adding Operations or Variants
- Binary Methods with Functional Decomposition
- Double Dispatch
- Optional: Multimethods
- Multiple Inheritance
- Mixins
- Interfaces
- Optional: Abstract Methods
Homework 7 Instructions
2
Readings
- Explanation of "Lesson Choices"
- Homework 7 Instructions
Homework 7: Peer Review
1
Peer Review
- Homework 7
Community-Contributed Resources
1
Readings
- Practice Problem for Double Dispatch and ML-to-Ruby
Homework 7: (Ruby 2.0 and SML)
- Homework 7 (Ruby 2.0 and SML)
1
Readings
- Homework 7 Peer Review Detailed Instructions
Homework 7 (Ruby 2.1 and SML)
- Homework 7 (Ruby 2.1 and SML)
1
Readings
- Homework 7 Peer Review Detailed Instructions
Homework 7 (Ruby 2.2 and SML)
- Homework 7 (Ruby 2.2 and SML)
1
Readings
- Homework 7 Peer Review Detailed Instructions
Homework 7 (Ruby 2.3 and SML)
- Homework 7 (Ruby 2.3 and SML)
1
Readings
- Homework 7 Peer Review Detailed Instructions
Section-wide Materials
3
Readings
- Section 10 Welcome Message
- Section 10 Reading Notes
- (Lack of) Section 10 Code Files
Video Lectures
8
Videos
- Subtyping From the Beginning
- The Subtype Relation
- Depth Subtyping
- Optional: Java/C# Arrays
- Function Subtyping
- Subtyping for OOP
- Generics Versus Subtyping
- Bounded Polymorphism
Final Exam
2
Assignment
- Practice Final Exam
- Actual Final Exam
1
Readings
- Information About the Exam (Required Reading)
Course Wrap-Up
2
Videos
- Summarizing All We Have Learned
- Saying Good-Bye :-)
Auto Summary
"Programming Languages, Part C" is the final segment of a comprehensive three-part course designed for individuals looking to deepen their understanding of programming languages, with a particular focus on functional programming. This course is perfect for those who have already completed Parts A and B and are ready to delve into more advanced concepts. Led by an experienced instructor through the Coursera platform, this course employs ML, Racket, and Ruby to illustrate core programming principles. However, its true aim is to provide learners with a robust framework for understanding and utilizing language constructs effectively, ensuring they can design correct and elegant programs across various languages. This final part is structured to build on the foundational knowledge from Parts A and B, emphasizing the importance of functional programming in creating robust, reusable, and elegant software. The course is practical yet insightful, aimed at helping you see software development from a fresh, engaging perspective. Spanning a total duration of 1,080 hours across the entire three-part series, this course offers flexible subscription options with Starter and Professional tiers, catering to different levels of commitment and learning needs. It is particularly suited for individuals with some prior programming experience who are eager to broaden their skills and learn new programming paradigms. Prepare to challenge yourself and complete your journey towards mastering programming languages with "Programming Languages, Part C."

Dan Grossman