Books and Screencasts
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
-
-
Recent Posts
Recent Comments
Archives
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
Categories
Meta
Monthly Archives: March 2008
Sustainable Development in Ruby, Part 2: Method Injection
Sometimes you have a need for an object method which the class author did not foresee. For instance, in our “previous installment”:http://avdi.org/devblog/2008/03/27/sustainable-development-in-ruby-part-1-good-old-fashioned-inheritance/, we used the following code to accumulate packets until an ending packet was found: class BufferedConnection < FMTP::Connection … Continue reading
Sustainable Development in Ruby, Part 1: Good Old-Fashioned Inheritance
The first technique we’ll look at in this series is something so basic it may not even seem worth spelling out. But sometimes old-school techniques are overlooked in the excitement of a young language. Let’s use as our example a … Continue reading
The Pipe Cleaner Gang
My stepson is a budding artist, and pipe cleaners are his medium of choice these days. I recently changed seats at work, and the new location is more conducive to displaying the creations he has entrusted to me. So I … Continue reading
Posted in Uncategorized
Tagged art, decor, diversions, hacks, homestar runner, mst3k, office, pipecleaners
4 Comments
Sustainable Development in Ruby: Introduction
This is the beginning of a series of posts on sustainable development in Ruby. No, I’m not talking about writing code on wind-powered laptops while sipping fair-trade coffee. But the sustainable development movement has a fairly direct analog in software … Continue reading
Posted in Uncategorized
4 Comments
Doctor, it hurts when you say that
bq. In your response, for instance, you say “I prefer thinking before writing code.” Well, so do I, but the fact of the matter is some people don’t and some people make mistakes based on inexperience or ignorance even when … Continue reading

