Ruby Code for Duolingo

After completing Spanish for English speakers on, I decided to try Portuguese for Spanish speakers. I wrote this Ruby code to help keep track of my progress:

There must be a better way to write this code that I’m not aware of yet. Once I learn better ways of writing code, this could become a nice lesson in refactoring.

I’ve decided to stop using Duolingo for now, since I have so many other things on my plate. Mainly I need to focus more on programming and apply for jobs. Also, I have a lot of hobbies. Instead of trying to list all my hobbies now, I’ll just write blog posts about them one by one.

Leave a Reply