I have noticed the same, and find myself using the !g feature in DDG a lot for searches... I suspect this could be related to Google knowing that you tend to search for code (i.e. Ruby) a lot, thus bumping related results to the top. Since DDG avoids storing context for users (from what I gather), I wonder if they'll ever be able to deliver the same quality of results as Google do.