No Picture

Using Loops

January 20, 2014 bwilson 0

Using loops can be one of the most useful operations in any language. Depending on the type of loop that you will be using ¬†you can loop through a set of numbers, continue the loop while a value is true or false, or do something before the loop starts. We […]

No Picture

Encapsulation

January 10, 2014 bwilson 1

Encapsulation is a fundamental of Object Oriented Programming (OOP). I have used this fundamental many times before and thought nothing of it. However when I was asked this question I totally forgot about it. So I decided to write about it for both you and I to better understand it. […]

No Picture

Double Equals for Comparisons

December 30, 2013 bwilson 0

This is a holdover from C. It made its way into C++, and then Java used a lot of C++ syntax. The bug goes like this: Somewhere, you accidentally type a single equals sign instead of a double one when examining a boolean value: Instead of performing a comparison, as […]