“Hello World”, and What the Heck is a Text Editor?

Screen Shot 2014-10-29 at 12.34.18 AM

Screen Shot 2014-10-28 at 11.19.16 PM
Codecademy environment, Ruby Tutorial…Left is instructions, center is where you type the code, and right is where you see the program run.

As I’ve been making my way through tutorials, something was starting to bother me. Tutorials let you practice in nice little environments that provide three fields: One for the tutorial’s instructions, a second for you to write code, and a third to show the results of your programs.

The problem is…This all happens on a webpage, and I couldn’t figure out how that translates to writing actual code and having it do something on my real computer.  If I don’t know this, I would bet that others as green as me don’t really know either.  Thus, I decided to figure it out (with help of course), and spell it out in this post.  Maybe this will be helpful to other novices out there, and I know it will be helpful to me in the future if I need a reminder.

I asked my most trusted advisor, the husband, how to program something for real, and he explained the steps you need to go through. The “Hello, world!” program seems to be an initiation ritual of sorts, so I decided to use my little “programming for real” lesson to make my computer say “Hello, world!”

Here’s what I learned: Continue reading