therealadam.com
The least bad solution
Sometimes I look over the options and constraints to choose something suboptimal. I have to pick the least-bad solution. I recently chose a least-bad way to write a test. In a Rails app, the most s…