Lecture 21 | Programming Paradigms (Stanford)
Loading...
12,217
Loading...
Top Comments
see all
All Comments (12)
-
Remember that 'map' applies a function to each element of the list, no cdr needed.
-
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...
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.
kingpupnyc 1 year ago 6
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.
tokinonagare27 3 years ago 5