Archive: 2012-09
Destructuring assignment in Ruby
My post on underscores in Ruby attracted quite a lot of interest, particularly on the topic of destructuring assignment, so I thought I’d go into a bit more detail.
Ruby’s magic underscore
I discovered today that Ruby treats underscores a little bit differently when it comes to variable names.
The East Coast Delay Repay scam
One of the tiring things in life is the way that everyone is trying to pull a fast one. East Coast Main Line operates a Delay Repay scheme that promises to repay ‘100% of the cost of a return ticket’ if you’re delayed by more than two hours. As you can probably guess, this isn’t exactly the case.
A life less soundbitey
I’m not dead. I’m just not really using Twitter any more. That old reflex action—oh, I’ve got a picosecond idle, better catch up on Twitter—has gone. It’s not that hard to break a habit.