Larson Institute of Self-Mastery Rotating Header Image

Software

Habits – The Software of Your Mind

Let’s talk about habits. What are habits? I’ve been in the computer industry for nearly twenty years and I’ve written over a million lines of software code in that period of time. I understand how a computer works. I understand software. I know how a program works. A program is simply a set of instructions that tell the computer what to do. The computer can make decisions and perform operations based on those instructions. You can load different programs in a computer and it will follow different instructions depending of what program you have loaded.

Like a Player Piano

I kind of relate it to a player piano when I try to explain software to people. When I was a kid our family had a player piano. We had a lot of fun with it. It wasn’t electric so we had to sit at the piano and pump the pedals with your feet to get the air going which made the piano go. In the piano you would put a roll, a piano roll. It sort of looked like a paper towel roll almost. Actually more like a scroll. In this paper were punched little holes. Depending on where these holes were punched in the paper, that would determine what notes would play and how long the holes were would determine how long the note would play.

So you could take a piano roll and put it in the piano and it would play a song. You could take out that roll and put another one in and it would play a different song because it was a different set of instructions. That is similar to how a computer program works.

Like a Computer Program

You can install a computer program in a computer and it’s a set of instructions and it tells the computer what to do in given situations depending on the inputs that are given. Now a computer is a little more sophisticated than a player piano. A computer can detect mouse movements, it can detect keyboard input and it can detect a number of other things and make decisions based upon those inputs. A computer program can read data from files that are stored on the hard drive and make decisions dependant on the data. (more…)