@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;}
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.
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.
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.
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.
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.
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.
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.
@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!
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
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.
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).
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.
Unlimited energy sources are out there!But there are very powerfull forces that want to supress the technology,Get a REAL working magnet motor at LT-MAGNET-MOTORdotCOM ,Start the energy revolution!
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
@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
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
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.
Comment removed
iphonehandyservice 5 days ago in playlist Course | Programming Methodology
How else can I practice programming? For example, after I watch this video, what could I do to practice the language he teaches?
phantomsmokes 3 weeks ago
@phantomsmokes If you are a absolute beginer, I Suggest learning Small Basic (Made by microsoft)
BlueLinkStudios 2 weeks ago
480p woop woop!
OhHo72 1 month ago
Computer-science like the page facebook
boxrats 1 month ago
@BmCNinJa No doubt! I'm more mermaid than whale though!
sueg65 1 month ago
This has been flagged as spam show
30:06 "The place I just transferred all the beefers"
seed419 1 month ago in playlist Course | Programming Methodology
Comment removed
seed419 1 month ago in playlist Course | Programming Methodology
but how's Karel programmed to know what "if (BeepersPresent()) means?!
AddictedYouNoob 1 month ago in playlist Course | Programming Methodology
@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;}
seed419 1 month ago in playlist Course | Programming Methodology 2
This has been flagged as spam show
thanks Stanford for informative video!
adelle0001 1 month ago
Does anyone else who is watching these lectures feel like you are the whale performing at Sea World when he throws that candy?
sueg65 2 months ago
@sueg65 That is only your insecurity.
BmCNinJa 1 month ago
O.O
XDebuzzyX 2 months ago in playlist Stanford Computer Science
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 2 months ago
@xVerbati it was stated in the first lesson.
BmCNinJa 1 month ago
it's necesary in programing to find the simplest way to write code/functions.?.?.
webmastersize 2 months ago in playlist Programming Methodology
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 2 months ago in playlist Course | Programming Methodology
@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.
SpeakerFrequer 2 months ago
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.
DarthLOL293 3 months ago in playlist Course | Programming Methodology
Anyone knows where i can download the course book (the java one) ?
Zehh35 3 months ago in playlist Course | Programming Methodology
Haha I've actually read the instructions on a bottle of shampoo.
Cubuntu28 3 months ago
@Cubuntu28 lol same!! :L
zacbrown112 3 months ago
@Cubuntu28 I do it all the time, it helps to read when I need to drop a deuce :P
SpeakerFrequer 2 months ago
@SpeakerFrequer
As do I, my good sir.
Cubuntu28 2 months ago
baws!
ArneSkim 3 months ago
the 3 lectures could be summarized and explained well in 30 minutes..
Excelsoft 4 months ago
I feel like I am really attending Stanford Class! Thanks to youtube!
csetech82 4 months ago 2
hey can i download karel the robot from anywhere?
izadefender 4 months ago
you'rwe gyay 4 watvching athis
PONY4LYFEHAHDERP 4 months ago
@PONY4LYFEHAHDERP
0/10, try harder.
DoomdnZz 3 months ago
@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
PONY4LYFEHAHDERP 3 months ago
"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.
mindprism 4 months ago
great! i see clases at stanford!
liceomanuelpiar 4 months ago
tu tudu tudu
gorbayov 4 months ago
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.
cbspace 4 months ago in playlist Stanford Computer Science 2
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.
kurrator1 4 months ago
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 4 months ago
@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 :)
xVerbati 2 months ago
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.
CensorThisFool 5 months ago
hold your hands together and sing kumbaya :)
pker5range 5 months ago in playlist Course | Programming Methodology 2
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 5 months ago
@chattychar shouldnt you be focusing on the lecture instead of the candy :)?
icommentonvideos1 5 months ago
@icommentonvideos1 i already watched the lecture. i get the material. now i want the candy.lol
chattychar 5 months ago
I wish they would use the microphones when asking questions more often.. Very hard to hear what they're asking.
squidvis 5 months ago
Doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo, doo
Mahonee89 5 months ago
"He does government now" - I lol'd.
thegringo444 5 months ago in playlist Course | Programming Methodology
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.
monsterhunter99 5 months ago
Mr. Mehran is probably the best instructor I have ever seen. Very nice and engaging way of conducting the lecture.
usaeed85 6 months ago
Somebody doesn't shower, disgusting
TheBillybobish 6 months ago
Very good instructor. He is very knowledgeable and also very entertaining.
Smeak686 6 months ago in playlist Course | Programming Methodology
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 6 months ago
@Elamindd matter of fact, he did. listen to it carefully.
nepalihercules 6 months ago
@Elamindd I think he did in the first video?
okeken 6 months ago
If i ask a question, i will be participating?
Which means i get a kit-kat? ;)
hullfc0800 6 months ago in playlist Course | Programming Methodology
i get an error says nullpointerexception
interxp1 7 months ago
it gets more and more complicated
109talal 7 months ago in playlist Course | Programming Methodology
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 7 months ago 74
@Lemon77UG I noticed that too
EnterGalacticCudi 7 months ago in playlist Course | Programming Methodology
@Lemon77UG Some people just have no staying power!
MrRudale 7 months ago in playlist Course | Programming Methodology
@Lemon77UG Im sure theres a correlation to classroom attendance too.
TheSamLegacy 7 months ago
@Lemon77UG They either "failed" or "dropped out". :P
monsterhunter99 5 months ago
@Lemon77UG
Continuity > Everything!
Bouncertt 4 months ago
@Lemon77UG Well, that is the nature of lectures in general.
mistoroboto 4 months ago
@Lemon77UG nice research! things get harder as the lecture continues.
dondopa 4 months ago
@Lemon77UG That happens to any video on Youtube that has a series. Also this professor seems chill.
noobsaibotmk10 4 months ago
@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
Lolziownrsu 3 months ago
@Lemon77UG which means out of all people interested in learning only 6% are really motivated and determined
yoyaya007 3 months ago
@Lemon77UG really sais allot about how committed the general population is i guess
Illidan1337OG 3 months ago
@Lemon77UG the 28,320 are the people that are really interested... Lecture 1-3 just want quick answers
VCLACROSS15 3 months ago
@Lemon77UG Impatience kills ambition.
DarthLOL293 3 months ago in playlist Course | Programming Methodology 16
@DarthLOL293 ambition kills success...
sssooffftt 3 weeks ago in playlist Course | Programming Methodology
@sssooffftt success kills.
diablisko666 5 days ago
@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!
xchimino2 2 months ago
@Lemon77UG programming only for the strong?
webDes33 2 months ago
@Lemon77UG Watching the whole video series is like climbing the corporate ladder...its not for everyone ;))
casualthrasher 1 month ago
hey! i bet someone from algo-rhythm watched this :'(
claus11212 7 months ago in playlist Course | Programming Methodology
@claus11212 maybe that's where the 12 dislikes came from
mangocottoncandy 7 months ago
New to programming and this lesson helped a lot in how to approach problems. thanks!
MrValzen 7 months ago
Eugene Levy is now a college professor?
bigmike4758 8 months ago 12
12 people got stuck in an infinite loop
Fishnudel 8 months ago 4
twelve people are asshole for Computer Science.
Terrextre 8 months ago in playlist Course | Programming Methodology
i really like this guy stanfords computer sience program i really i hope i can get accepted
THETYGUY77 8 months ago
@THETYGUY77 Not if you forget to capitalize the i's.
IsayHai2u 8 months ago in playlist Course | Programming Methodology
You never thought you could teach the world, did you?
sammy67275 8 months ago
Damn I love these :P
Lukedude5 8 months ago
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
MercifulBeing 8 months ago
what company made processors that did an infinite loop in 2.5 sec?
Yahnthepyroman 9 months ago
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 9 months ago 2
@XxRIPPER94xX unfortunately no.
ArmyGeeks 9 months ago
Jasmine sounds hot!
okeken 10 months ago
raging rock-on ;)
thsjv83 10 months ago
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
16min5k 10 months ago
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();
}
Sketch9816 10 months ago
Comment removed
Sketch9816 10 months ago
@Sketch9816 karel dont know integers
wwwelkam 10 months ago
@wwwelkam Karel is made in Java; everything in Java automatically knows integers.
Sketch9816 10 months ago
@Sketch9816 Imagine that Karel is new programing language and everything will be clear
wwwelkam 10 months ago
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,
JefferyWhiteKid 11 months ago
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.
JOHNNYSschool 11 months ago
How can get the handouts that students in this class receive?For study purpose. Studying from home here. thanks
indgairhe 11 months ago
Comment removed
DawgPwnd 1 year ago
im in Sponge Mode AtM
Luv2sploog3 1 year ago
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 1 year ago
@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).
Lemon77UG 7 months ago
This guy looks like Eugene Levy
adam723 1 year ago
What i want to know,,,is who are the 11 nazis that didn't like this video????
mrhappydogleg 1 year ago
at ttodhe the video's are available at the stanford website, search standford engineering everywhere
n67tn 1 year ago
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.
debit256 1 year ago
anybody knows how to download these videos into computer. please let me know at
clearcutco@aol.com
thanks
ttodhe 1 year ago
@ttodhe if you click on the description for more info, you get a download link.
kausthubh 1 year ago
Thank you very much Professor Mehran Sahami, Stanford and Sir Tim Berners-Lee.
mutinjozo 1 year ago
The same fucking girl keeps asking questions, five bucks says she's grossly overweight and is just asking questions for the candy.
itsjamieshepherd 1 year ago 6
LOL i kept spamming it and my computer crashedd
ThaWillBill 1 year ago
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 .
azuz16 1 year ago
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.
Sephiroth472 1 year ago
my dream is to go to stanford and if teachers are this good i am so going there
sharkstowinthecup 1 year ago
Does it not seem these kids are just asking questions for chocolate?
rpowell1986 1 year ago
Damn stop teaching these kids our trades! I won't have a job soon with all the competition! :)
ddstar 1 year ago
I think that he has got the infinite bag of beeper-candy.
snooppuppy1tube 1 year ago 104
Great videos!! Appreciate!
BuzzKash 1 year ago
That's a never ending bag of candy.
comexland 1 year ago 5
Comment removed
scharlet2002 1 year ago
Comment removed
scharlet2002 1 year ago
Comment removed
scharlet2002 1 year ago
Viva Persians! Go Mehran!
scharlet2002 1 year ago 2
Awwwwwwwwwwwwwwwwwwwwwwwwwsome
anaseer 1 year ago
This has been flagged as spam show
Unlimited energy sources are out there!But there are very powerfull forces that want to supress the technology,Get a REAL working magnet motor at LT-MAGNET-MOTORdotCOM ,Start the energy revolution!
urgencyharviefcem 1 year ago
Santa rules!
DeepOceanDiver 1 year ago
This has been flagged as spam show
great teacher, terrific communicator. thank you standford () ;
tthaiwat 1 year ago
great teacher, terrific communicator. thank you standford () ; {
}
tthaiwat 1 year ago
Excellent video!
kelvinkxu 1 year ago
"Ye, she can, its just a whole lot of beepers"
Russiandude212 1 year ago 3
WOW....simply outstanding ! thnx STANDFORD ..
hsbhathiya 1 year ago 3
Very good.
zyrgzyrg 1 year ago 3
if every programming institution could teach like this,pple wount be scared to learn programming.
attahbraimah 1 year ago 2
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
cdude143 1 year ago
This has been flagged as spam show
3 lecture down, 25 to go!
natsakon 1 year ago
3 lecture down, 25 to go!
natsakon 1 year ago 7
@natsakon There is 25 lectures? Oh god, it is awesome!
MrDoctorTomas 1 year ago
Waw.... This Professer Meharan is Amazing. Thank you Stanford for making it possible for every one. I wanna master Java.
s3aada 1 year ago 2
Candy...
Hotives 1 year ago
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 1 year ago
@machuloy They are using Eclipse.
marelnx 1 year ago
Man, after seeing this guy, I really want to go to this school now.
Mehran Sehami is the bomb!
jesusminime14 1 year ago 5
thanks Stanford for making this possible. Now anyone in the whole world with the internet can view high quality lessons.
qwertyfshag 1 year ago 4
Hei I wanna learn JAVA and here its Kerel & Kerel all the way.
goodbyeman2 1 year ago
I wish I could get carol to clean up MY room.
RussellsParadox 1 year ago
@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 )
ShadowSky24 1 year ago
good vid
furyisuponu 1 year ago
very good videos. I wish they had 720p so the code on the board is easier to read.
lolomgdude 1 year ago 103
@lolomgdude .. This is Stanford University, not Princeton.
DaniilBMX 1 year ago
@lolomgdude you have it, share plz
anderzom 1 year ago
@lolomgdude
I think you can download code from this web site
georg0829 1 year ago
@lolomgdude I guess HD wasn't quite a viable option for live streaming back in 2008.
Vaughnlesterinoz 11 months ago
@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
Martcapt 11 months ago
It's fun to make infinite looping programs.
MetalShreader 1 year ago 2
lollllll rinse lather repeat
cracked me up
diablo2punk 1 year ago
Al-khoarizmee was boring in Baghdad
JesusMiddleEastGuy 1 year ago
programing just kicks ass lol
boy4everjoy 1 year ago
Guys! did anyone solve the 4th problem in the 1st assignment?
I can't solve it, any ideas???
LifeForRent279 1 year ago
@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
gadonja 1 year ago
Comment removed
LifeForRent279 1 year ago
Comment removed
LifeForRent279 1 year ago
@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 :)
LifeForRent279 1 year ago
Comment removed
vakac 1 year ago
@LifeForRent279
no problem :)
i just finished assignment 2, so if you have any problems with it, ask ;)
gadonja 1 year ago
@gadonja : thanks again
i still haven't moved forward, my exams start this saturday :S:S
LifeForRent279 1 year ago
@gadonja : thanks again
i still haven't moved forward, my exams start this saturday :S:S
LifeForRent279 1 year ago
@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 1 year ago
@gadonja
i have many things to study too
i just wish i could study at stanford someday..
Best of Luck :):)
LifeForRent279 1 year ago
Comment removed
LifeForRent279 1 year ago
Comment removed
LifeForRent279 1 year ago
Comment removed
LifeForRent279 1 year ago
woke up
went to bathRoom
Fuked My GF in the ass.
went to skool late.
gur0004 1 year ago
the guy has an infinite beeper bag :D
ivanrade 1 year ago
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.
renzyq19 1 year ago 3
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?
kstahmer 1 year ago
I Love This Video!
Dillboy928dfb 1 year ago 6
Great Lesson!
Dillboy928dfb 1 year ago 3