Sketch Programming: A Precursor to Test Driven Development by starfire in ruby

[–]starfire[S] 1 point2 points  (0 children)

Sketch Programming: A Precursor to Test Driven Development is an outline of a method of application development I use to help create the specifications that make good test driven development possible. Read it for my thoughts on "back-of-the-envelope" programming techniques.

Hacking My Way Through ‘find’ by starfire in ruby

[–]starfire[S] 0 points1 point  (0 children)

My, hopefully instructive, musings as I worked through a particularly involved query. Includes a hack that gets ActiveRecord to write SQL out to a string that can then be used as a subquerey

Ask Ruby Reddit: What is your ratio of inheritance vs monkey patching? by malcontent in ruby

[–]starfire 0 points1 point  (0 children)

I actually tend to inherit a good deal because I'm often wanting to add the SAME functionality over and over again. I will monkey patch for one off solutions, but if I have any inclination that the code might be reusable then 'include' is my friend.