When I first started with Ruby, I wrote it like I would any other language: Classes, methods, loops, conditionals. It worked, and I appreciated the sweet syntax, but I wasn’t taking full advantage. It’s been a while since I first began with my hobby language, and slowly but surely, my Ruby is becoming more Ruby-like.
I’ve picked up a few tricks and I’m getting better at leveraging the more (see below) advanced features appropriately and effectively. Enough so that I’m often horrified by things I wrote just a few months back. It can be a tad discouraging, but ultimately it’s a good thing because it means I’m getting better.
Besides, as a co-worker of mine likes to point out, how awful would it be if the situation where reversed?
Newayz, here are a few links to some of them fancy fixin’s I was talking about: