Classes and Modules

In last week's blog post I wrote a short bit on classes in Ruby and how they can be interacted with. This week I am taking a look at modules and how they differ from classes.

The easiest way to describe modules is by considering them to provide a piece...

read more...

Identity and Stereoptype Threat

Definition

Claude M. Steel brings the following definition to Stereotype Threat: "Being in a situation for which a negative stereotype about one of your identities could be applied to you."

In my interpretation: Fear of being judged based on...

read more...

Introducing Classes

Classes are designed to perform a functionality by themselves. This functionality can be, and usually is part of a larger group of functions which we would call a program.

For this example I made a simple standalone class and I...

read more...

Pair Programming

I will be honest here. At the beginning I felt resistance to pair programming. I thought there was a lot of overhead to having two people do the same work. Due to the content of the curriculum, this seemed to apply in the first week, but from the second week onwards I saw more and more value in pair programming.

One very practical benefit that comes to mind is in the form of time management. I commit to an agreement with someone else to dedicate at least one hour to work on an assignment. Often it is going well enough that this hour extends in the additional time it takes to get to a solution, simply because of the effective and fun workflow which is created.

read more...

Enumerables

While I have been using enumerables I didn't really know how to describe them. It is the name for a collection of Ruby methods which we can use to make life easier. Sounds good to me.

Cycling

i love cycling, but the Ruby version is a bit different. It goes on forever, yet doesn't take much effort. The .cycle method is a bit like the .each method, except that it will start over when it reaches the end.

read more...