Added: 3 years ago
From: StanfordUniversity
Views: 152,861
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (275)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • How else can I practice programming? For example, after I watch this video, what could I do to practice the language he teaches?

  • @phantomsmokes If you are a absolute beginer, I Suggest learning Small Basic (Made by microsoft)

  • 480p woop woop!

  • Computer-science like the page facebook

  • @BmCNinJa No doubt! I'm more mermaid than whale though!

  • Comment removed

  • but how's Karel programmed to know what "if (BeepersPresent()) means?!

  • @AddictedYouNoob It's an inherited method from the inherited class. Very valid question. I think he's not explaining that because he's just giving you the basic 1 2 of programming - so you're 'not supposed to think about that' yet :) I'm sure if beepersPresent() method is something like if(beeperAtLocation){ return true;}

  • Does anyone else who is watching these lectures feel like you are the whale performing at Sea World when he throws that candy?

  • @sueg65 That is only your insecurity.

  • O.O

  • i like how they give microphones to students asking questions, at first when the first question was asked in this video, i thought we just couldnt hear him.

  • @xVerbati it was stated in the first lesson.

  • it's necesary in programing to find the simplest way to write code/functions.?.?.

  • so if there's a new term such as "jumpHurdle" does the computer automatically look for a definition? i find it strange it doesn't need to be directed towards that definition

  • @johnstonmatt it is in the import stanford.karel.* there are many libraries that have pre-defined words to use. It is kinda like a game engine for video games. Video games (provided it is the same engine that is used) have the same code for physics, lighting, ect...There is no point in writing all the code if it is something you are going to use often (with each new game) when you can just call it with the import function.

  • There is a much easier way to make him double the number of beepers. Make a while loop that makes him pick up a beeper, and add one to variable (Beepercount), until there are no more, then make him drop Beepercount X 2.

  • Anyone knows where i can download the course book (the java one) ?

  • Haha I've actually read the instructions on a bottle of shampoo.

  • @Cubuntu28 lol same!! :L

  • @Cubuntu28 I do it all the time, it helps to read when I need to drop a deuce :P

  • @SpeakerFrequer

    As do I, my good sir.

  • baws!

  • the 3 lectures could be summarized and explained well in 30 minutes..

  • I feel like I am really attending Stanford Class! Thanks to youtube!

  • hey can i download karel the robot from anywhere?

  • you'rwe gyay 4 watvching athis

  • @PONY4LYFEHAHDERP

    0/10, try harder.

  • @DoomdnZz u fukin pssy sh1t i cud beat u up in r3al lyfe nub shit. come at me bro u fukin shit ass cunt tit fucking shit fuck you shit

  • "the two common ones are camel case all the way through, or camel case -except for the first one, which is lower case"

    Evidently, the instructor here is taunting Blaise Pascal to rise from the grave and firebomb Stanford University. I see no other explanation.

    I believe Anders Hejlsberg and Niklaus Wirth owe Mehran Sahami, at bare minimum, one hell of a nuggie.

  • great! i see clases at stanford!

  • tu tudu tudu

  • Once I do my BSc in Computer Science I think I'm going to try go to Stanford for my MSc and Ph.D. I want to move to America as it is. And these CS video lectures have been some of the best education I've ever had.

    College was absolutely useless!

    Thank you Stanford for sharing these excellent lectures. You've changed my opinion on academic education.

  • First rule of good programmer:

    If your code was hard to write it should be hard to read.

    Why? Because there is a greater chance you will be fired than a chance a new worker will write better code.

  • Thank god for no "Hello World." I'm also intrigued that basically the fist thing that are brought up are functions and classes, immediately followed by conditionals. Up until this video i don't think there has been mention of a variable other than "i" in a for loop. It's interesting

  • @ralusek I agree, i've tried other java tutorials like that where they start out with just one class and just the main class...the way this college teaches it, is 10x+ better :)

  • Instead of creating all those methods to double the beepers he could have just created a variable and added 1 to it with each beeper he picked up then put down double the variable without ever moving.

  • hold your hands together and sing kumbaya :)

  • random question. what is that candy? i've been trying to figure that out. it's annoying me. it says "classic..." something else and I can't seem to decipher it.

  • @chattychar shouldnt you be focusing on the lecture instead of the candy :)?

  • @icommentonvideos1 i already watched the lecture. i get the material. now i want the candy.lol

  • I wish they would use the microphones when asking questions more often.. Very hard to hear what they're asking.

  • Doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo

  • "He does government now" - I lol'd.

  • I hope when I go to a university I will have a professor like him. He gets the class laughing and he gives them candy for questions :D Not to mention he actually gets the lesson done perfectly.

  • Mr. Mehran is probably the best instructor I have ever seen. Very nice and engaging way of conducting the lecture.

  • Somebody doesn't shower, disgusting

  • Very good instructor. He is very knowledgeable and also very entertaining.

  • How come in the last program he didn't account for the possibility that a spot could have more than one beeper? He never stated that one of the conditions of the world is that it would only have one beeper max per spot.

  • @Elamindd matter of fact, he did. listen to it carefully.

  • @Elamindd I think he did in the first video?

  • If i ask a question, i will be participating?

    Which means i get a kit-kat? ;)

  • i get an error says nullpointerexception

  • it gets more and more complicated

  • Lecture 1: 466,768 views

    Lecture 2: 223,888 views

    Lecture 3: 115,468 views

    By lecture 10 there's 43,187 views and the final lecture has only 28,320 views.

    Hmmmmm...

  • @Lemon77UG I noticed that too

  • @Lemon77UG Some people just have no staying power!

  • @Lemon77UG Im sure theres a correlation to classroom attendance too.

  • @Lemon77UG They either "failed" or "dropped out". :P

  • @Lemon77UG

    Continuity > Everything!

  • @Lemon77UG Well, that is the nature of lectures in general.

  • @Lemon77UG nice research! things get harder as the lecture continues.

  • @Lemon77UG That happens to any video on Youtube that has a series. Also this professor seems chill.

  • @Lemon77UG lol well ima be watching em all cuz im trying to learn java so i can eventualy attempt to create my own sort of a game

  • @Lemon77UG which means out of all people interested in learning only 6% are really motivated and determined

  • @Lemon77UG really sais allot about how committed the general population is i guess

  • @Lemon77UG the 28,320 are the people that are really interested... Lecture 1-3 just want quick answers

  • @Lemon77UG Impatience kills ambition.

  • @DarthLOL293 ambition kills success...

  • @sssooffftt success kills.

  • @Lemon77UG That's still a HUGE number of people that completed the course. Almost 30,000 online students who now can program in java. I applaud Stanford for this!

  • @Lemon77UG programming only for the strong?

  • @Lemon77UG Watching the whole video series is like climbing the corporate ladder...its not for everyone ;))

  • hey! i bet someone from algo-rhythm watched this :'(

  • @claus11212 maybe that's where the 12 dislikes came from

  • New to programming and this lesson helped a lot in how to approach problems. thanks!

  • Eugene Levy is now a college professor?

  • 12 people got stuck in an infinite loop

  • twelve people are asshole for Computer Science.

  • i really like this guy stanfords computer sience program i really i hope i can get accepted

  • @THETYGUY77 Not if you forget to capitalize the i's.

  • You never thought you could teach the world, did you?

  • Damn I love these :P

  • LoL i have that snooze twitch too sometimes. sometimes i wanna wake up at a certain time and ill just end up hitting the snooze button over and over for literally 2 hours and at some point turn the alarm off completely and just continue sleeping

  • what company made processors that did an infinite loop in 2.5 sec?

  • does he still teach at stanford??? im in grade ten and was thinking of going to stanford and i like the way he lectures.

  • @XxRIPPER94xX unfortunately no.

  • Jasmine sounds hot!

  • raging rock-on ;)

  • I'm having trouble running eclipse on my mac. After downloading I try to run and I am "unable to acces jarfile startup.jar"

    I have a mac 10.6.6 and have done the system updates, so I believe I have everything needed. It just won't run

  • I couldn't imagine how you could think of this bottom up

    Could he not have just counted beepers by using 2 while loops like this:

    int count = 0;

    while(beeperPresent()){ pickBeeper();  count++;

    }

    while(count*2>0){ putBeeper();

    }

  • Comment removed

  • @Sketch9816 karel dont know integers

  • @wwwelkam Karel is made in Java; everything in Java automatically knows integers.

  • @Sketch9816 Imagine that Karel is new programing language and everything will be clear

  • How do you launch the karel programs to show karel and the beepers? I have eclipse helios and can write the programs but idk how to luanch them with karel or create his worlds,

  • Wow I'm so happy they are showing college classes for every one to learn I've already told 3 people if we all spread this mabby we can teach America and fill all of the new tec jobs.

  • How can get the handouts that students in this class receive?For study purpose. Studying from home here. thanks

  • Comment removed

  • im in Sponge Mode AtM

  • Am I weird then? This is my first programming experience ever and I naturally was thinking in top down design before he even mentioned that there was a difference.

  • @Vaughnlesterinoz: I'm new to this this too, and I get top down design a bit, but this guy does some really nice abstractions in that doubleBeepers program. Nothing like I wrote before looking at the solution (mine is more like in the book).

  • This guy looks like Eugene Levy

  • What i want to know,,,is who are the 11 nazis that didn't like this video????

  • at ttodhe the video's are available at the stanford website, search standford engineering everywhere

  • Great professor that goes around many basic aspects of coding. He creatively utilizes Karole to convey the processes of [hard] to grasp keywords for beginners of Java in ways so linguistically simple. My freshmen professor just teaches theoretical without any practical examples, very difficult to implement.

  • anybody knows how to download these videos into computer. please let me know at

    clearcutco@aol.com

    thanks

  • @ttodhe if you click on the description for more info, you get a download link.

  • Thank you very much Professor Mehran Sahami, Stanford and Sir Tim Berners-Lee.

  • The same fucking girl keeps asking questions, five bucks says she's grossly overweight and is just asking questions for the candy.

  • LOL i kept spamming it and my computer crashedd

  • Respect to Mehran Sahami

    He teach from basics and makes programming peace of cake,

    I wish I got lecture like him , ill score "A" in his subjects

    all students attend his classes should be thankful .

  • In the last day of the class, he will tell his students that the bag of candy has come from Halloween a few years back. At least I hope.

  • my dream is to go to stanford and if teachers are this good i am so going there

  • Does it not seem these kids are just asking questions for chocolate? 

  • Damn stop teaching these kids our trades! I won't have a job soon with all the competition! :)

  • I think that he has got the infinite bag of beeper-candy.

  • Great videos!! Appreciate!

  • That's a never ending bag of candy.

  • Comment removed

  • Comment removed

  • Viva Persians! Go Mehran!

  • Awwwwwwwwwwwwwwwwwwwwwwwwwsome­

  • Santa rules!

  • great teacher, terrific communicator. thank you standford () ; {

    }

  • Excellent video!

  • "Ye, she can, its just a whole lot of beepers"

  • WOW....simply outstanding ! thnx STANDFORD ..

  • Very good.

  • if every programming institution could teach like this,pple wount be scared to learn programming.

  • Hi there,Is anybody will join me..I'm preparing for JAVA thru this videos and books...will be helpful if we share the knowledge.my email Id is karthikfrend@yahoo.co.in

  • 3 lecture down, 25 to go!

  • @natsakon There is 25 lectures? Oh god, it is awesome!

  • Waw.... This Professer Meharan is Amazing. Thank you Stanford for making it possible for every one. I wanna master Java.

  • Candy...

  • umm which editor they are using?

    am learning java but we are using textpad as an editor

    is there any recommended compiler for java??

  • @machuloy They are using Eclipse.

  • Man, after seeing this guy, I really want to go to this school now.

    Mehran Sehami is the bomb!

  • thanks Stanford for making this possible. Now anyone in the whole world with the internet can view high quality lessons.

  • Hei I wanna learn JAVA and here its Kerel & Kerel all the way.

  • I wish I could get carol to clean up MY room.

  • @RussellsParadox Don't be silly...

    Karol is taking my room first =P

    ( Though my room is always clean... I just said it for the fun, lol )

  • good vid

  • very good videos. I wish they had 720p so the code on the board is easier to read.

  • @lolomgdude .. This is Stanford University, not Princeton.

  • @lolomgdude you have it, share plz

  • @lolomgdude

    I think you can download code from this web site

  • @lolomgdude I guess HD wasn't quite a viable option for live streaming back in 2008.

  • @lolomgdude well at least it has 480... some videos at mit have 260 which is crazy crazy bad... lectures are still good though.... although stanford's are better lol :P

  • It's fun to make infinite looping programs.

  • lollllll rinse lather repeat

    cracked me up

  • Al-khoarizmee was boring in Baghdad

  • programing just kicks ass lol

  • Guys! did anyone solve the 4th problem in the 1st assignment?

    I can't solve it, any ideas???

  • @LifeForRent279

    i solved it... First i put beepers from start to end of wall, and then i run side-to-side and erase last beeper every time... When you erase them all, you'll stand in the middle and just put beeper down... If you wanna source code, send me a message

  • Comment removed

  • Comment removed

  • @gadonja

    Thanks a lot, but i actually solved it before i saw your reply

    it just required some long thinking, i used the same algorithm by the way :D

    Thanks again :)

  • Comment removed

  • @LifeForRent279

    no problem :)

    i just finished assignment 2, so if you have any problems with it, ask ;)

  • @gadonja : thanks again

    i still haven't moved forward, my exams start this saturday :S:S

  • @gadonja : thanks again

    i still haven't moved forward, my exams start this saturday :S:S

  • @LifeForRent279

    My exams starts next week, so i understand you :D. I have boring maths and other stuff to solve, and then i'll move forward with this

    i wish you luck ;)

  • @gadonja

    i have many things to study too

    i just wish i could study at stanford someday..

    Best of Luck :):)

  • Comment removed

  • Comment removed

  • Comment removed

  • woke up

    went to bathRoom

    Fuked My GF in the ass.

    went to skool late.

  • the guy has an infinite beeper bag :D

  • I've just finished assignment 1, and I have to be honest: watching Karel move around his world until he ends up in the right place - one of the better feelings.

  • If you browse "camel case" on the Internet, you'll see it's ambiguous.

    Some regard this as CamelCase, while others regard this as camelCase.

    Why the ambiguity?

    Well, the problem is:

    Is the camel Bactrian or Dromedary?

  • I Love This Video!

  • Great Lesson!