Apologies for the delay... This part was ready before christmas, but for various reasons I never got around to posting it. And to make matters worse I managed to post the wrong part yesterday. Sigh.
Stepping back from the
attr_* debacle for a bit... I wanted to look ...
This is a sort-of interlude to my regular compiler series.
The goal is to give a brief overview of some techniques for implementing closures in a programming language. I will use C for my examples, mostly because it's low level enough that a further translation to assembler etc. is ...
A couple of parts ago we established some of the problems with supporting even the seemingly simple
A week or so ago, the Ruby Draft specification made the rounds
Yes... Ruby is finally getting a standard. While RubySpec has been around for a while, and is a great, it is an executable specification that tells you what, not why, and it aims to be "complete" while ...
A long rant on Virgin Media customer service and the challenges of cancelling.
So far the method_missing implementation has just printed a notice and quit.
During the trip down the rabbit hole that is
attr_accessor and friends that became a major annoyance.
The problem is that this notice has not included a stack backtrace or any way to ...
I've been lazy lately... Well, not really, I've been extremely busy, but I ought to have fit this in earlier. It's gotten harder and harder to get done too, since it's now more work since I had to go back and figure out a lot of the reasons for what I'd ...
I tweeted about this, but figured it deserve a more lasting treatment.
If you've ever used
Range#max you may have inadvertently slowed your code significantly.
Both of those ought to be O(1) - constant time. After all, a Range in Ruby consist of two values, and though you can't ...