Success!

I’ve been diligently working my way through Learn Ruby the Hard Way, and for the most part, not having too much trouble. There are some things that I will definitely need to come back to, but for the most part, I feel like it’s going well.

Yesterday, I reached Lesson 43: Basic Object-Oriented Analysis and Design, which involves typing out a ton of code to run a simple game. I almost saved it for today or whenever, as it was already late in the day, but I decided I’d just do the first part, anyway. And that wasn’t so bad, so I did the next part. And so on, until I actually finished it. I ran it as I went along, and didn’t run into trouble until I reached the second to last part.

I scrutinized what I had on the offending line, and didn’t see a problem. I thought maybe I needed to finish to get it to run correctly, so I did that, but had the same issue. I looked and looked and checked and checked and just could not see the problem. Finally, I decided that I’d been at LRTHW for 8 hours altogether, most of that before I got to that lesson, so maybe I should just break for the day and come back to it.

I just did, and almost immediately saw the problem which was nothing more than a single missing comma at the end of the line above the line returning the error.
I don’t remember the last time I felt that excited as when I realized that comma was missing.
I added it, saved the file and ran the program.
And cheered.

SUCCESS!

This is why I’m doing this. I don’t think I’ve ever felt such a sense of satisfaction as I do when I get these things to run, or better yet, when I don’t and then I figure out WHY.

Hopefully, this means today will be a good day.

😀 😀 😀

Leave a Reply

Your email address will not be published. Required fields are marked *