Public Message

The “while” Loop

The “while” Loop

It’s been a while The “while” loop is the first looping structure that we will discuss, it is used to repeat a section of code until a Boolean condition is met. To me, a while loop is just an “if” statement that repeats while it’s boolean expression is true.

Boolean Expressions

Boolean Expressions

A fair amount of computer programming is checking the condition of something and then doing one thing if that condition is right and another thing if that condition is wrong. We call that a Boolean operation. There are two options and one must be chosen.

How to Make a Tri-State Checkbox Using KnockoutJS

How to Make a Tri-State Checkbox Using KnockoutJS

I want to start by saying, “Don’t do this!” Now that we got that out of the way, here is how you would do it and when you might consider using it.

JavaScript: Equality

JavaScript: Equality

Unlike most languages that I have encountered, JavaScript has a fairly tricky way of handling equality. It is possible in JavaScript for things that are clearly not the same to be equal. Just the same, things that seem the same can be not equal.

Basic Math Operators

Basic Math Operators

In computer science there are just a few universal operations, basic math operators seem to be one of them. The operators are as follows: Addition + Subtraction – Multiplication * Division / Parenthesis ()

Encapsulation Examples

Encapsulation Examples

The scenario for these examples is the same as that in the encapsulation article. We have a room to clean and we want to know when it is finished so we can inspect it. Although I will be giving examples in several different languages I am not planning to get into the syntax of the
+ Read More

Encapsulation and Everything in Between

Encapsulation and Everything in Between

Encapsulation according to Wikipedia has two definitions A language mechanism for restricting access to some of the object’s components. A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data. If that doesn’t make any sense to you, don’t worry it doesn’t really make that much sense to me
+ Read More

Pillars of Object Oriented Development and Design Preface

Pillars of Object Oriented Development and Design Preface

If you are here and your reading this article, I would hope that you are interested in computer programming. If not, you might want to work on your googling skills. If you are then let me be the first to say welcome and congratulations on taking the first steps to WORLD DOMINATION MUAHAHAHAHAH!!!…just kidding. You
+ Read More

Everything From Scratch

Everything From Scratch

In this blog I intend to do everything from the ground up. I don’t even have a database yet, but will include that in the blogging process. Infact this blog is completely static at the moment but I will fix that shortly.