Lecture 5 | Programming Methodology (Stanford)

by on November 7, 2009

Lecture by Professor Mehran Sahami for the Stanford Computer Science Department (CS106A). Professor Sahami lectures on graphics, objects, classes, variables, and values pertaining to 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 …

Related posts:

  1. Lecture 4 | Programming Methodology (Stanford) Lecture by Professor Mehran Sahami for the Stanford Computer...
  2. Lecture 12 | Programming Methodology (Stanford) Lecture by Professor Mehran Sahami for the Stanford Computer...
  3. Lecture 7 | Programming Methodology (Stanford) Lecture by Professor Mehran Sahami for the Stanford Computer...
  4. Lecture 13 | Programming Methodology (Stanford) Lecture by Professor Mehran Sahami for the Stanford Computer...
  5. Lecture 10 | Programming Methodology (Stanford) Lecture by Professor Mehran Sahami for the Stanford Computer...

Related posts brought to you by Yet Another Related Posts Plugin.

{ 25 comments… read them below or add one }

daniel1982 November 7, 2009 at 12:08 pm

I really love that these videos are free. Not much new here, but i love that there is some expertise on stuff you as a coder never think about. Now i can say with a smug smile on my face “i is not equal to 1 noob, you assigned the value 1 to i… noooob”

iMacMonkey November 7, 2009 at 12:08 pm

See if you can put all the code up here and i’ll have a look.

Kamrua November 7, 2009 at 12:08 pm

:o I didn’t! Thanks…
but now RED is underlined o_o “cannot find symbol”

iMacMonkey November 7, 2009 at 12:08 pm

Did you import java.awt.* ??

Kamrua November 7, 2009 at 12:08 pm

I’m having problems with the setColor
I tried this:
label.setColor(Color.RED);

The “Color” gets underlined red.

exam November 7, 2009 at 12:08 pm

“it’s design is honking… it’s this big long thing!” LOL

pulancheck November 7, 2009 at 12:08 pm

awesome teaching. throwing snikers and kitkat at the students… nice

BenjaminProd November 7, 2009 at 12:08 pm

He does teach that, from lecture 25 and so forth.
The acm library is designed for teaching purposes, and it helps those who are new to programming in java and also those who know a bit from before learn faster, basically it makes teaching java a lot easier, so that starting with “actual” java will be very very easy, because it builds on the same essentials and fundamentals. ;)

gekko505505505 November 7, 2009 at 12:08 pm

Look: first i guess those chalk boards hang there at least two decades, and thats basically why they are there.

Second: Sure one could change to Edding-boards, but guess what: Chalk is totally environement- and writerfriendly.
No skin-irritations, no harmfull substances, no waterproov dirt on hands and clothes. And almost no environmental pollution when chalk is produced.

Simple, isnt it ^^

maxsmell November 7, 2009 at 12:08 pm

awesome teach

motion2000 November 7, 2009 at 12:08 pm

This guy is the BEST computer science professor i have ever seen. I have watched both stanford and berkley classes, as well as had instructors for my own classes. He keeps it so intresting, and explains it in a way that makes sense to anyone who is intrested. Thanks Mehran, and Stanford for sharing this with us!

Campusanis November 7, 2009 at 12:08 pm

One universal phenomenon in computer science courses is that 90% of results in examples are “42″. :P

MrDonny78 November 7, 2009 at 12:08 pm

I think he is cool, but he is using super classes first with the acm. stuff, what about just plain old java, why hasn’t he introduced public static void main(String[] args) and other basic class and methods, in the real world not everyone has the acm library they wil have to learn how to do more of the basic stuff.

MusicMan208DT November 7, 2009 at 12:08 pm

check this.learn report program generator
as400 – rpg . tk

ugurmal November 7, 2009 at 12:08 pm

he doesn’t show how to use eclipse.

sonnytrujillo November 7, 2009 at 12:08 pm

LOL!

Gilley31 November 7, 2009 at 12:08 pm

I wish I had this guy as a teacher.

TheSearcher1 November 7, 2009 at 12:08 pm

Part2:
I can’t follow well the power point presentations,
where the teachers already putted everything they want, without showing us the steps, or telling us the ideas between the lines.

I hope that Stanford do some sociological/psychological study why some people like me, understand (very well) only from chalk boards?

Thanks again for Stanford for the videos.

TheSearcher1 November 7, 2009 at 12:08 pm

Part1:
I didn’t read all comments but I saw people saying “why Stanford still uses chalk boards?”
Well, first of all these chalk boards are the ones who produced these professors who you are watching them now,
Secondly I’m one of the persons who can’t well understand things that are not explained by chalk boards!
Many times I asked my self why?
I think because using chalk boards give us (or at least me) a step by step explanations, with other words the teacher is thinking while he is explaining.

Versum November 7, 2009 at 12:08 pm

In Mother Russia, the subjects learn you.

ArcanumServer November 7, 2009 at 12:08 pm

it’s interesting how fast youtube comment flame wars start. I’m not saying you started it, though. i think if Sahami wanted a white board / whatever else, he would have one instead. I guess as ehn said it boils down to preference.

93hamsal November 7, 2009 at 12:08 pm

Listen my objective wasn’t to ask a question idiot, if it was i would ask a more appropriate question. My objective was to answer my curiosity as to why he was writing on chalk boards, it doesn’t matter how fucking of point I was. No body needs to feel obligated to ask relevant questions on a youtube video, fuck off fagots.

auradistorter November 7, 2009 at 12:08 pm

i was agreeing with ‘ehntoo’…it is irrelevant, just think there are more appropriate questions you could have brought up rather than what medium they write onto….. thats all..

you are like one of those retards that walks into a prehistoric museum and asks ‘wow how did they get that caveman to stay perfectly still for so long’ missing the function and concept of its purpose

93hamsal November 7, 2009 at 12:08 pm

so fucking what?

auradistorter November 7, 2009 at 12:08 pm

irrelevant i think

Leave a Comment

Previous post: Purpose of Life Lectures by Khalid Yasin (www.1islam.net)

Next post: Lecture 1: Data Structures and Algorithms – Richard Buckland