Lecture 4 | Programming Methodology (Stanford)



Lecture by Professor Mehran Sahami for the Stanford Computer Science Department (CS106A). Professor Sahami moves into the history of computing and introduces the program Java.

CS106A is an Introduction to the engineering of computer applications emphasizing modern software engineering principles: object-oriented design, decomposition, encapsulation, abstraction, and testing. Uses the Java programming language. Emphasis is on good programming style and the built-in facilities of the Java language.

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

CS106A at Stanford Unversity:
http://www.stanford.edu/class/cs106a/

Stanford Center for Professional Development:
http://scpd.stanford.edu/

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

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

source

31 thoughts on “Lecture 4 | Programming Methodology (Stanford)

  • January 14, 2022 at 12:45 pm
    Permalink

    The Reason your Saying CS is not about Programming is because you don't want to Teach something Worthwhile. Programming is an Art. CS brings order to that. Data Structures & Algorithms, Software Analysis & Design (Use cases, Object design, State Charts e.t.c). Data Storage. Relational Storage design, Sql Queries e.t.c
    Stanford is Above Average? You're not. The Guy before you was better for Programmer to Programmer.

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    1:00 The History of Computing

    06:51 Computer Science vs Programming

    09:41 What Does The Computer Understand?

    10:48 The Compilation Process

    17:13 Java is an Object Oriented language

    20:00 Inheritance

    25:04 Instance of a Class

    28:43 The acm.program Hierarchy

    31:04 Your First Java Program

    35:50 A ConsoleProgram example

    41:14 The Graphics Window

    44:51 The Sending-Messages-to-a-GLabel Example

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    @ 21:26 "Let me put in terms that you'll understand. You're a human being right? And if you're not, come talk to me. It wouldn't be the first time!"

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    Aren't the slides in this video really blurry?

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    he is the best lecturer throughout my 24-year-life. Why don’t you @unimelb have professors like this?😔

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    he should mentioned Alan kay the inventor of object oriented programming term

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    I'm a little confused by the "ceiling" to the left and right, and how Karel exits at the end.

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    So I switch my major from Computer Engineering to Computer Science and in CpE we took C++, digital Logic, all the engineering maths, etc. but I didn't learn Java like the first year CS students usually do. So I'm taking a class called "Software Engineering Principles" and I really need to learn this language before I start. Thanks standford for the free lessons and sorry at everyone at my uni who had to pay to learn this lmfao

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    When he shows the console program at 36:00, he says that he imports only acm.program.*, but if were to have a graphics program he would have to import acm.graphics.* also. However, if graphics is a subclass of program (as shown previously in his hierarchy diagram), then shouldn't the importing of program.* be enough for both console programs and graphics programs?

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    Am I still doing Karel? I'm a bad person for thinking sumthing else lol

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    Professor Mehran is a fantastic professional but he left Alan Turing out of his very breve introduction to computer history. He shouldn't!

    Reply
  • January 14, 2022 at 12:45 pm
    Permalink

    What project did he import and where can i find if? basically when i'm creating new project and class and try to import acm.graphics eclipse complains that "the import acm cannot be resolved". I realized that he uses some project but am not able to read(due to quality) the name. any suggestions?

    Reply

Leave a Reply

Your email address will not be published.