Turn Around…
Aug 22, 2017 · 1 min read
Today I wrote my first program in Ruby!
Our daily project was to create a ‘Number Guessing Game’ that prompts users to pick a random number between 1 and 100 and determine whether that number matches with a computer-generated random number. The program provides feedback to the user on whether their guess should be higher or lower and ends the game after five incorrect guesses.

A few quick observations:
- Ruby is a super readable language (and one that feels more intuitive to me than JavaScript). I know this is a fairly simplistic program and that my language exposure in the programming world is still fairly minimal, but I’m already enjoying the accessibility of the naming and syntax in Ruby.
- You can do a lot with a little. In JavaScript, this output would have taken significantly more lines of code to achieve and I love how straight-forward and amenable Ruby can be at its best.
AND, because I haven’t yet mentioned the spectacular natural occurrence that was today’s solar eclipse (and because I alluded to the culminating song selection in the title)…
Song of the Day: “Total Eclipse of the Heart” by Bonnie Tyler
