Friday, November 21, 2014

Getting Jiggy with my Command Prompt, and Ruby

My first successful Ruby program

I've been a computer user for most of my life. My parents bought the first family computer in 1988, an Apple IIe, when I was five years old. I've played lo-fi computer games with joysticks and cheesy music, saw the dawn of monetized music downloads, and shared pictures of my daily life on Facebook. My employment history is on LinkedIn. In other words, as computer usage has grown, changed, and evolved, I have too. But there was one thing I hadn't done, and that was write a computer program.

No, that isn't entirely true. My Catholic elementary school had a room full of Apple IIes (and C's!) where, once a week, our math teacher would teach us to program using BASIC. I have a fuzzy recall of shading in boxes of graph paper and using code to make pictures of trucks, square-ish flowers, etc. Flash forward about a thousand years later, and I'm trying to teach myself Ruby. It takes me about another thousand years to figure out how to run the "Hello World!" program from my command prompt, but I finally get it. And there is magic. I'm showing everyone this picture of my first successful Ruby program like it's my first-born. And it is.

I'm about 80% done with the free book I got from Amazon kindle that promises to teach me basic Ruby. That doesn't mean I understand 80% of it (LOL) but I'm learning to enjoy the process.

It sure beats pictures of square flowers!

No comments:

Post a Comment