• For Individuals
  • For Businesses
  • For Universities
  • For Governments
Coursera
  • Online Degrees
  • Careers
  • Log In
  • Join for Free
    Coursera
    University of Washington
    Programming Languages, Part B
    • About
    • Modules
    • Recommendations
    • Testimonials
    • Reviews
    1. Browse
    2. Computer Science
    3. Software Development
    University of Washington

    Programming Languages, Part B

    Dan  Grossman

    Instructor: Dan Grossman

    Top Instructor

    64,406 already enrolled

    Included with Coursera Plus

    •Learn more
    4 modules
    Gain insight into a topic and learn the fundamentals.
    4.9

    (781 reviews)

    Intermediate level
    Some related experience required
    Flexible schedule
    Approx. 16 hours
    Learn at your own pace
    97%
    Most learners liked this course

    4 modules
    Gain insight into a topic and learn the fundamentals.
    4.9

    (781 reviews)

    Intermediate level
    Some related experience required
    Flexible schedule
    Approx. 16 hours
    Learn at your own pace
    97%
    Most learners liked this course
    • About
    • Modules
    • Recommendations
    • Testimonials
    • Reviews

    Skills you'll gain

    • Computer Programming
    • Programming Principles

    Details to know

    Shareable certificate

    Add to your LinkedIn profile

    Assessments

    1 assignment

    Taught in English

    See how employees at top companies are mastering in-demand skills

    Learn more about Coursera for Business
    Placeholder
    Placeholder

    Earn a career certificate

    Add this credential to your LinkedIn profile, resume, or CV

    Share it on social media and in your performance review

    Placeholder

    There are 4 modules in this course

    [As described below, this is Part B of a 3-part course. Participants should complete Part A first -- Part B "dives right in" and refers often to material from Part A.]

    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.

    Welcome! Start here! Learn about this course and how it's organized.

    What's included

    3 videos2 readings

    3 videos•Total 11 minutes
    • Welcome to Part B•2 minutes•Preview module
    • Overview of Part B Concepts•5 minutes
    • Part B Course Structure•2 minutes
    2 readings•Total 22 minutes
    • Start Here!•7 minutes
    • Part B Software Installation and Use: Racket and DrRacket•15 minutes

    Let's get started programming with Racket and then learning idioms related to delaying evaluation. The welcome message has a few additional comments about picking up a new language and how to approach the homework assignment, so let's get started...

    What's included

    23 videos6 readings1 programming assignment1 peer review

    23 videos•Total 211 minutes
    • Introduction to Racket•8 minutes•Preview module
    • Racket Definitions, Functions, Conditionals•10 minutes
    • Racket Lists•9 minutes
    • Syntax and Parentheses•8 minutes
    • Parentheses Matter! (Debugging Practice)•10 minutes
    • Dynamic Typing•9 minutes
    • Cond•8 minutes
    • Local Bindings•13 minutes
    • Toplevel Bindings•4 minutes
    • Mutation with set!•8 minutes
    • The Truth About Cons•7 minutes
    • mcons For Mutable Pairs•7 minutes
    • Delayed Evaluation and Thunks•10 minutes
    • Avoiding Unnecessary Computations•6 minutes
    • Delay and Force•9 minutes
    • Using Streams•10 minutes
    • Defining Streams•10 minutes
    • Memoization•10 minutes
    • Macros: The Key Points•8 minutes
    • Optional: Tokenization, Parenthesization, and Scope•7 minutes
    • Optional: Racket Macros With define-syntax•9 minutes
    • Optional: Variables, Macros, and Hygiene•10 minutes
    • Optional: More Macro Examples•9 minutes
    6 readings•Total 11 minutes
    • Section 5 Welcome Message•5 minutes
    • Section 5 Reading Notes•0 minutes
    • Code Files for All Section 5 Videos•0 minutes
    • Homework 4 Detailed Guidelines for Peer Assessment•0 minutes
    • Notes and Tips for Section 5•6 minutes
    • Extra Practice Problems•0 minutes
    1 programming assignment•Total 180 minutes
    • Homework 4 (Auto-Grader)•180 minutes
    1 peer review•Total 45 minutes
    • Homework 4•45 minutes

    Welcome to the second week of Part B where we will focus on (a) building data structures in dynamically typed languages and (b) implementing programming languages with interpreters. Most of the programming assignment is focused on (b) -- implementing a small programming language that has function closures. As usual, start with the welcome message and enjoy!

    What's included

    9 videos6 readings1 programming assignment1 peer review

    9 videos•Total 86 minutes
    • Datatype-Programming in Racket Without Structs•13 minutes•Preview module
    • Datatype-Programming in Racket With Structs•9 minutes
    • Advantages of Structs•8 minutes
    • Implementing Programming Languages•10 minutes
    • What Your Interpreter Can and Cannot Assume•13 minutes
    • Implementing Variables and Environments•6 minutes
    • Implementing Closures•6 minutes
    • Optional: Are Closures Efficient?•9 minutes
    • Racket Functions As “Macros” For Interpreted Language•9 minutes
    6 readings•Total 12 minutes
    • Section 6 Welcome Message•5 minutes
    • Section 6 Reading Notes•0 minutes
    • Code Files for All Section 6 Videos•0 minutes
    • Homework 5 Detailed Guidelines for Peer Assessment•0 minutes
    • Notes and Tips for Section 6•7 minutes
    • Extra Practice Problems•0 minutes
    1 programming assignment•Total 240 minutes
    • Homework 5 (Auto-Grader)•240 minutes
    1 peer review•Total 45 minutes
    • Homework 5•45 minutes

    In the last module of Part B we will use our experience programming in ML and Racket to compare and contrast static typing and dynamic typing. This is not only the most important difference between these two languages, but it is a fundamental topic in the study of programming languages. Learning it can help you program more effectively in both kinds of languages. After completing this week's quiz, don't forget to watch the Part B Wrap-Up and Part C Preview video.

    What's included

    8 videos5 readings1 assignment

    8 videos•Total 77 minutes
    • ML Versus Racket•8 minutes•Preview module
    • What is Static Checking?•10 minutes
    • Soundness and Completeness•9 minutes
    • Weak Typing•9 minutes
    • Static Versus Dynamic Typing, Part One•9 minutes
    • Static Versus Dynamic Typing, Part Two•13 minutes
    • Optional: eval and quote•7 minutes
    • Part B Wrap-Up and Part C Preview•7 minutes
    5 readings•Total 10 minutes
    • Section 7 Welcome Message•5 minutes
    • Section 7 Reading Notes•0 minutes
    • Code Files for All Section 7 Videos•0 minutes
    • Quiz Instructions•5 minutes
    • Nothing (yet) (explanation)•0 minutes
    1 assignment•Total 45 minutes
    • Section 7 Quiz•45 minutes

    Instructor

    Instructor ratings

    Instructor ratings

    We asked all learners to give feedback on our instructors based on the quality of their teaching style.

    5.0 (87 ratings)
    Dan  Grossman

    Top Instructor

    Dan Grossman
    University of Washington
    3 Courses•240,319 learners

    Offered by

    University of Washington

    Offered by

    University of Washington

    Founded in 1861, the University of Washington is one of the oldest state-supported institutions of higher education on the West Coast and is one of the preeminent research universities in the world.

    Recommended if you're interested in Software Development

    • U

      University of Washington

      Programming Languages, Part A

      Course

    • U

      University of Washington

      Programming Languages, Part C

      Course

    • K

      Korea Advanced Institute of Science and Technology(KAIST)

      Programming Languages Ⅰ

      Course

    • K

      Korea Advanced Institute of Science and Technology(KAIST)

      Programming Languages Ⅱ

      Course

    Why people choose Coursera for their career

    Felipe M.
    Learner since 2018
    "To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
    Jennifer J.
    Learner since 2020
    "I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
    Larry W.
    Learner since 2021
    "When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
    Chaitanya A.
    "Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

    Learner reviews

    4.9

    781 reviews

    • 5 stars

      93.85%

    • 4 stars

      5.50%

    • 3 stars

      0.64%

    • 2 stars

      0%

    • 1 star

      0%

    Showing 3 of 781

    V
    VA
    5

    Reviewed on Mar 18, 2018

    This course (as Part A and C) is great - Dan is great in teaching and the content is perfect for anyone who wants to learn more about programming languages!Warning - you might end up loving FP :)

    Y
    YP
    5

    Reviewed on May 31, 2017

    The course is really fantastic! It leads me to the world of Racket programming and guides me to many concepts in programming language theory (PLT).

    D
    D
    5

    Reviewed on Sep 27, 2021

    F​antastic course on functional programming, programming languages, and type theory. Highly recommended. Dan is an amazing teacher and the course structure and pace is excellent.

    View more reviews

    New to Software Development? Start here.

    What Is Programming? And How To Get Started

    January 28, 2025

    Article · 6 min read

    Is Tableau a Programming Language?

    August 5, 2024

    Article

    Top 5 Functional Programming Languages in 2025

    November 26, 2024

    Article

    Low-Level vs. High-Level Programming Languages

    October 9, 2024

    Article

    Placeholder

    Open new doors with Coursera Plus

    Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

    Learn more

    Advance your career with an online degree

    Earn a degree from world-class universities - 100% online

    Explore degrees

    Join over 3,400 global companies that choose Coursera for Business

    Upskill your employees to excel in the digital economy

    Learn more

    Frequently asked questions

    Access to lectures and assignments depends on your type of enrollment. If you take a course in audit mode, you will be able to see most course materials for free. To access graded assignments and to earn a Certificate, you will need to purchase the Certificate experience, during or after your audit. If you don't see the audit option:

    • The course may not offer an audit option. You can try a Free Trial instead, or apply for Financial Aid.

    • The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

    When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, 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.

    You will be eligible for a full refund until two weeks after your payment date, or (for courses that have just launched) until two weeks after the first session of the course begins, whichever is later. You cannot receive a refund once you’ve earned a Course Certificate, even if you complete the course within the two-week refund period. See our full refund policyOpens in a new tab.

    Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

    More questions

    Visit the learner help center

    Financial aid available,

    Coursera Footer

    Technical Skills

    • ChatGPT
    • Coding
    • Computer Science
    • Cybersecurity
    • DevOps
    • Ethical Hacking
    • Generative AI
    • Java Programming
    • Python
    • Web Development

    Analytical Skills

    • Artificial Intelligence
    • Big Data
    • Business Analysis
    • Data Analytics
    • Data Science
    • Financial Modeling
    • Machine Learning
    • Microsoft Excel
    • Microsoft Power BI
    • SQL

    Business Skills

    • Accounting
    • Digital Marketing
    • E-commerce
    • Finance
    • Google
    • Graphic Design
    • IBM
    • Marketing
    • Project Management
    • Social Media Marketing

    Career Resources

    • Essential IT Certifications
    • High-Income Skills to Learn
    • How to Get a PMP Certification
    • How to Learn Artificial Intelligence
    • Popular Cybersecurity Certifications
    • Popular Data Analytics Certifications
    • What Does a Data Analyst Do?
    • Career Development Resources
    • Career Aptitude Test
    • Share your Coursera Learning Story

    Coursera

    • About
    • What We Offer
    • Leadership
    • Careers
    • Catalog
    • Coursera Plus
    • Professional Certificates
    • MasterTrack® Certificates
    • Degrees
    • For Enterprise
    • For Government
    • For Campus
    • Become a Partner
    • Social Impact
    • Free Courses
    • ECTS Credit Recommendations

    Community

    • Learners
    • Partners
    • Beta Testers
    • Blog
    • The Coursera Podcast
    • Tech Blog
    • Teaching Center

    More

    • Press
    • Investors
    • Terms
    • Privacy
    • Help
    • Accessibility
    • Contact
    • Articles
    • Directory
    • Affiliates
    • Modern Slavery Statement
    • Do Not Sell/Share
    Learn Anywhere
    Placeholder
    Placeholder
    Placeholder
    © 2025 Coursera Inc. All rights reserved.
    • Placeholder
    • Placeholder
    • Placeholder
    • Placeholder
    • Placeholder
    • Placeholder
    Coursera

    Welcome back

    ​
    Your password is hidden
    ​

    or

    New to Coursera?


    Having trouble logging in? Learner help center

    This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.