Related Post

Spread the word

Digg this post

Bookmark to delicious

Stumble the post

Add to your technorati favourite

Subscribes to this post

25 Comments Already

mygif
fc007 Said,
May 9th, 2010 @6:58 am  

@Entropy56 “Best Practices”?

mygif
renzyq19 Said,
May 9th, 2010 @7:44 am  

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.

mygif
kstahmer Said,
May 9th, 2010 @7:48 am  

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?

mygif
mthetaung Said,
May 9th, 2010 @8:23 am  

@reddis58 yeah this guy is awesome… i’m learning more from him then my own teacher… thank god for youtube…. lmao

mygif
Dillboy928dfb Said,
May 9th, 2010 @8:51 am  

I Love This Video!

mygif
Dillboy928dfb Said,
May 9th, 2010 @9:03 am  

Great Lesson!

mygif
imsubha Said,
May 9th, 2010 @9:10 am  

@Entropy56 – yup you are correct. He flawed on camelCase.

mygif
Entropy56 Said,
May 9th, 2010 @9:23 am  

At 38:30 the teacher was wrong about Camel Case.
Camel Case is this: firstName
Pascal Case is this: FirstName

He also said that underscores are ok. No, they are not. That is old school. Underscores should only be used in rare situations. One exception is the underscore is used for member fields (variables) of a class where the first character is an underscore. Many don’t like them even in that situation and find they add noise to the code. See Best Practices.

mygif
Entropy56 Said,
May 9th, 2010 @9:52 am  

I agree with Top Down Design, but often need to start at the bottom and make sure I can communicate with a piece of hardware first. So I’ll do a lot of research about the hardware and write some test applications until I can send data to the device, or make it do something. Once I achieve that, I abstract out the details and build a module that can plug into the larger application. Then I work from the top down.

mygif
lolomgdude Said,
May 9th, 2010 @10:31 am  

@kylerocks122333
Already tried that.

mygif
kylerocks122333 Said,
May 9th, 2010 @11:11 am  

@lolomgdude Google is your friend.

mygif
kylerocks122333 Said,
May 9th, 2010 @11:57 am  

@achilles198585 lol.

mygif
relysaa Said,
May 9th, 2010 @12:48 pm  

Hit Ctrl+Shift+O. Maybe you forgot some imports and by pressing this key-combo in Ecplipse, it imports everything you need (as long as you have that somewhere of course)

mygif
bearhuntaa Said,
May 9th, 2010 @12:49 pm  

I’m on assignment number 1, and when trying to call method like frontIsClear(), it says it cannot be resolved..in one of the pdfs this is one of the methods that can be called..my class extends superkarel as well..wats going on?

mygif
Rasmusorum Said,
May 9th, 2010 @1:46 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?

mygif
lolomgdude Said,
May 9th, 2010 @2:16 pm  

Can anyone link me to the course handout with all the methods for the Karel Robot? The extra ones in Lecture 2 weren’t included in ProgrammingMethodology pack.

mygif
FakeFuckedSoulMan Said,
May 9th, 2010 @2:55 pm  

@Nqorule336 man, in first lection there is a link

mygif
Nqorule336 Said,
May 9th, 2010 @3:11 pm  

were can i get them. pliz send me a link

mygif
mfnickster Said,
May 9th, 2010 @3:45 pm  

@zlink15 The best thing to do is act out the steps by hand and write down each decision/action you make. Then try to write the algorithm to get Karel to repeat what you did.

mygif
CanisLupus1987 Said,
May 9th, 2010 @4:12 pm  

I love the way he refers to infinite loops. I never rationalized the shampoo instructions as an Infinite loop….

mygif
chakwi44 Said,
May 9th, 2010 @4:20 pm  

Thanks

mygif
achilles198585 Said,
May 9th, 2010 @4:38 pm  

melted processor stops the infinite loop :)

mygif
zlink15 Said,
May 9th, 2010 @5:04 pm  

(dont actually go to this school)
is any one eles doing the karel assighments. im doing the stone mason one with the pillars. is it just me or is that thing hard been on it for 2 hrs now trying to get it perfect according to the conditions given.
also great teacher/idea
since im deploying next year im taking all of my classes in 7 week long semsters to fit in as much as possible before leaving. that being said its easy to fall behind. being able to watch these vids at home helps alot.

mygif
RichaPandey09 Said,
May 9th, 2010 @5:34 pm  

Thanks to Mr Prof. Mehran and Stanford. These lectures are really very helpful for the students learning java. It’s a great help for us.

mygif
michellemahasin Said,
May 9th, 2010 @6:22 pm  

You need to download the assignments as well. Then go to import project under the Stanford menu. When you run the project, you load Karel and its world.

Leave Your Comments Below

Please Note: All comments will be hand modified by our authors so any unsuitable comments will be removed and you comments will be appreared after approved

Powered by Yahoo! Answers