Friday, February 22, 2013

Anatomy of a for loop


For loop are named because they run for a specific range of values. They are the most useful when you have an array of objects you want to iterate over or a specific set of numbers you want to get through.

Thursday, February 21, 2013

Loops Introduction


Ah, loops. A classic topic. If you don't already, you'll learn to love them. Think of a loop as your friend who doesn't mind repeat tasks. Your parents tell you to wash every fork used at dinner one at a time by hand, and just before your next four hours are consumed with dish soap, your friend steps in to help you and take care of that job for you.

Monday, February 11, 2013

Recursion: The Basics






Recursion. Possibly a Computer Scientist's favorite topic. It's a very deep topic and you could easily write a masters or Ph.D. thesis on some of the more complicated recursive

Variable Scope: Variable Shadowing


Tuesday, February 5, 2013

Variable Scope: Local Variables




Local variables are the medium to small scope variables. Usually, you will use these much more frequently than instance variables.