Tagged: Loops

Petting Kittens

Petting Kittens

Today we were asked to find a fun way to represent the each method. This method loops over an array and does something to each item in the array. There are so many ways this can be shown, but I figured what way is better than with kittens? (Sadly I am not currently a kitten owner. If I were, have faith that...

Languages and Loops

Languages and Loops

Before delving into Ruby I dabbled in a few other languages, the primary one being Javascript. In fact, Javascript is the first programming language that I got beyond the most basic syntax in, and so the expressiveness that Ruby has in trying to make things more human-readable wasn’t something that I looked for or expected, or even realized existed in programming to...