Tim on July 2nd, 2008

I recently realized how much of the art of programming is just lots of little tricks that you pick up along the way. I’m resolving to share these little tricks, in the hopes that others will do the same, either on their blogs or in the comments here.
Here’s one involving an array and building a […]

Continue reading about Comma, Separated, Values,



Tim on June 2nd, 2008

lol.
But oh no. Show them one bullshit-laden presentation and the entire Rails community is champing at the bit and selling both kidneys to ditch all previous Ruby implementations and everything they thought they knew about the persistence layer and embrace some questionable closed-source vapourware, from the guys who brought you that previous world-storming web […]

Continue reading about The tortoise was right.

I was browsing through Ning’s codebase the other day. I work directly with the code since I’ve customized a Ning network for one of Cloudspace’s clients in some subtle ways, just because he wanted it that way.
I really like the work they’ve done. Their codebase clearly has a lot of best practices.
I found one neat […]

Continue reading about How to make a single function call handle one or many

Tim on February 11th, 2008

I sometimes forget just how useful drawing diagrams can be.
For example, working with a DB. Just a quick sketch of circles as tables, write the column titles inside the relevant circles, and then draw a few lines to represent joins.
It’d probably be useful to do this with large blocks of code too.  Just draw parts […]

Continue reading about Drawing diagrams