SICP / Assignment Statements / Part 1.1

Loading...

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

Uploaded by on Sep 12, 2006

Gerry Sussman introduces us to assignment statements.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (12)

Sign In or Sign Up now to post a comment!
  • @EdgeNicx I learned this first thing, so to me, this was "beginner's programming". :P

  • Damn, my spine aches every time he uses the board.

  • @glowbot: "They must have been writing some pretty simple programs up until this point, if they haven't been using variables yet."

    Chuck Moore has written a CAD application almost without variables. With a hex editor. Try to beat that!

  • @fragglet

    Yup, I've programmed in Haskell and Prolog and Erlang. They are good functional languages. :-)

    Lambda calculus and such.

    They just aren't very popular in commercial programming.

  • @andiejs brilliant yes, but dont get carried away.

  • "They must have been writing some pretty simple programs up until this point, if they haven't been using variables yet."

    In functional languages like Lisp, variables are basically avoided as much as possible, so it's actually possible to learn quite a lot without even learning how to use variables.

    Do you realise that there are pure functional languages like Haskell where variables don't even exist? :-)

  • sussman is brilliant. and sexy.

  • I agree, recursion is fun and powerful.

    But you always have to remember to use the right tool for the job. If a recursive way would be more fun but an iterative way would be easier to implement or more efficient or more readable, then iterative should be the tool you choose.

    But if you are just learning, you should try to get yourself comfortable with recursion. Understand it, use it, love it.

  • I actually love recurrsion, one is just neat and two if you know how to do it its is very powerful

  • We learned this after having extensive knowledge of Java and C++. This is a whole other paradigm, not beginners programming. Variables aren't that central in Lisp.

  • They must have been writing some pretty simple programs up until this point, if they haven't been using variables yet.

    But it is definitely good for a beginner to start at the beginning. Get a strong basis to build on.

    I remember teaching iterative loops and recursive loops to my little brother, using factorial. He's in grade school. He said it blew his mind. :)

  • Why aren't my lecturers as enthusiastic as this?

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