Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Lecture 21 | Programming Paradigms (Stanford)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
12,217
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 18, 2008

Lecture by Professor Jerry Cain for Programming Paradigms (CS107) in the Stanford University Computer Science department. In this lecture, Prof. Cain continues discussing the functional program and the Scheme programming language by focusing upon function pointers.

Programming Paradigms (CS107) introduces several programming languages, including C, Assembly, C++, Concurrent Programming, Scheme, and Python. The class aims to teach students how to write code for each of these individual languages and to understand the programming paradigms behind these languages.

Complete Playlist for the Course:
http://www.youtube.com/view_play_list?p=9D558D49CA734A02

CS 107 Course Website:
http://www.CS107.stanford.edu/

Stanford University:
http://www.stanford.edu/

Stanford University Channel on YouTube:
http://www.youtube.com/stanford/

Category:

Education

Tags:

Download this video

LICENSE: Creative Commons (Attribution-Noncommercial-No Derivative Works).

For more information about this license, please read: http://creativecommons.org/licenses/by-nc-nd/3.0/.

High-quality MP4 Learn more

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • I love these lectures, they're the best thing I've seen on YouTube. But I feel I must say this: whomever is responsible for camera operation in some of these videos deserves to be whipped! There is NOTHING more annoying than when Jerry walks to another board to explain something incidental, but the camera stays on the board he came from and you can't see what he's doing. Cameraman was definitely asleep for some parts of these lectures.

  • Good lecture. However, there is one area of potential confusion. Jerry states that Scheme is weakly typed because type checking happens at runtime. In fact, Scheme is dynamically and strongly typed. It is dynamically typed for the reasons that Jerry states (type checking at runtime).

    Strong vs. weak typing is orthogonal to when type checking takes place. Weak typing usually means that a lot of implicit casts take place. Thus, C is actually weakly typed, even though it is statically typed.

see all

All Comments (12)

Sign In or Sign Up now to post a comment!
  • @projrelated

    Remember that 'map' applies a function to each element of the list, no cdr needed.

  • @projrelated

    No, he's right. Run the code.

  • Thanks professor Jerry

  • I believe the last line of the "flatten" function should read:

    (map flatten (cdr seq)))))

    Great lecture over all. This video series is invaluable.

  • greatest job =)

  • This series brings back memories. I used the Lisp variant MDL years ago. I haven't used emacs for years either. Great stuff.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more