Ruby, so easy a wife can do it
I just have to share this. So my wife asks me why I’m learning this new thing called Ruby. She’s usually not interested in the specifics of the programming languages I use. (A few years ago, she asked me, “what’s that C-Pound book you’re reading?” 🙂
So I broke out a pen and paper and wrote these 2 lines:
-
DateTime.Now.AddHours(1)
- 1.hour.from_now
Then I wrote her another couple of lines:
-
for (int i=0; i<=3; i++) { // do something }
- 3.times.do //something
Needless to say, the fact that my wife is telling me I need to start using Ruby more is definitely a sign. Just not sure of what it’s a sign of…
