Lecture 6 | Programming Methodology (Stanford)
September 2nd, 2010 by CGI & PHP.com
Lecture by Professor Mehran Sahami for the Stanford Computer Science Department (CS106A). Professor Sahami continues to talk about expressions, variables, and values. He then finishes his lecture on conditions, scopes, if statements, and different loops. 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: www.youtube.com CS106A at Stanford Unversity: www.stanford.edu Stanford Center for Professional Development: scpd.stanford.edu Stanford University: www.stanford.edu Stanford University Channel on YouTube www.youtube.com
Popularity: 18% [?]

Lecture 28 | Programming Methodology (Stanford)
Lecture 2 | Programming Methodology (Stanford)
Lecture 1 | Programming Methodology (Stanford)
Lecture 3 | Programming Methodology (Stanford)
Lecture 13 | Programming Methodology (Stanford)
Lecture 16 | Programming Methodology (Stanford)





September 2nd, 2010 at 7:14 am
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this?
I'm guessing that eclipse can't find some of the files it needs to run the programs.
imgur.com /PtSl3.png
(youtube won't let me post the link unless i put a space between the slash, just remove it and past it in your browser so you can see what my problem is)
September 2nd, 2010 at 8:08 am
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this?
I'm guessing that eclipse can't find some of the files it needs to run the programs.
imgur.com /PtSl3.png
September 2nd, 2010 at 8:40 am
I've downloaded "all" of the needed software that Stanford offers, but I can't get any of the programs to work. I don't know much about eclipse, only what I've learned in this class. can someone help me out and tell me how to fix this? I'm guessing that eclipse can't find some of the files it needs to run the programs.
September 2nd, 2010 at 8:54 am
these videos are awesome! I'm studying software development and design at high school is this practically what we're doing (other than java).
September 2nd, 2010 at 9:02 am
yeah!!!!! someone who knows both languages please explain. it sounds counter-intuitive to use % with a double value (to me).
September 2nd, 2010 at 9:58 am
YOU ARE GREAT. Thanks a lot
I WISH JIMMYR.COM AND THE NEW BOSTON WERE LIKE YOU AS THEY ARE GOOD AND BROADLY.
September 2nd, 2010 at 10:44 am
doesn't the average sign also have a different name? I remember in one of my C++ books it was called something else.
September 2nd, 2010 at 11:15 am
after watching this make me want quit working at McDonald
September 2nd, 2010 at 11:57 am
"get your hands off my PI" haha I lol'd
September 2nd, 2010 at 12:30 pm
@renzyq19 point is nt abt usage.. actually if u know C/C++ u might even wanna know why the hell u studied java. Saying tht Java is good coz it works on all platforms is like saying anal sex is good coz it works on all genders. point is abt providing proper info abt anythng in a public domain. And for ur usage of "%" operator on floatng values. well, i hvnt myself used it yet. bt it might be used somewhere…. mebbe for angles (modulo 360) in graphics to calculate trigonometric functions.
September 2nd, 2010 at 12:55 pm
@MrPolymorphist but why would you want to use % with a double value?
September 2nd, 2010 at 1:52 pm
@X3QT0R I was taking programming before but I fail because my professor does not teach in the class. He just told us to read the book. Prof. mehran explaining makes me understand more….
September 2nd, 2010 at 2:36 pm
I love when he tries to wipe the board, it becomes crappier and crappier..
September 2nd, 2010 at 3:30 pm
At around 1:55 Prof Mehran says that the remainder operatopr "%" doesnt work with double values. This is true in C/C++ but NOT in java. This is not to criticise the work done by the univ or the prof in any way coz they have done a real good job by putting this in public domain. I am just SCJP and this dude might be teaching java for so long. however, please check before putting any such credible info in the public domain. many ppl who shift frm C/C++ to java hv these misconceptions.
September 2nd, 2010 at 3:44 pm
is there a big difference between the pdf version of "the art and sience of java" book and the full original version? Will i be able to complete the course and understand all the details with the pdf preliminary draft of the book, or will i miss alot of detail if i don't read the final example of the book?
September 2nd, 2010 at 4:39 pm
You are an idiot who doesn't know shit about software engineering
September 2nd, 2010 at 4:40 pm
I love this whole opencourseware movement. Mehran is better than any professor I had at school. I just noticed…Lecture 1 has close to 200,000 views while Lecture 28 only has around 8000. Kind of sad.
September 2nd, 2010 at 4:51 pm
abudaiyeh: should be
while (stillAlive()) {
iWillLoveThisTeacher();
}
September 2nd, 2010 at 4:52 pm
@FrankRizzo6662
sounds like you don't know that much about programming either.
let's say you wanna build a web page, that some user could see from any machine or device!
how would you implement that in Assembly
every language has it's own specifications
assembly : you use the low level features but yet its too architecture specific.
high level languages: gives a fine structured and abstracted programs instead of tons of commends to do a simple task
interpreted languages: platform independent
September 2nd, 2010 at 5:49 pm
can somebody provide a simple example in working code of the things taught here? a real life use of this stuff please
September 2nd, 2010 at 6:12 pm
PHP is a scripting language…. Real programmers write Assembly code, good programmers write C++, newbies use Java or C#, beginners use a scripting language
September 2nd, 2010 at 6:41 pm
Watch all the videos noob
September 2nd, 2010 at 7:04 pm
The symbol is called a pipe.
September 2nd, 2010 at 7:41 pm
i have just completed the asignment 1.
the assignment is too tough , may i have to submit it!!
September 2nd, 2010 at 7:46 pm
gr8 lecture again
no buddy tell me when to start hte assignment1 , as per the schedule i think the assignment is due , i am going to try it ……
thanks standford and u tube and evey one