News for hackers. Stuff that matters.
Re:Getting Creative with MapReduce by moultano on Friday September 30, 2011 @03:17PM (#3058225)
I find writing a debug server easier than writing tests, but maybe that's just me. :) Especially for speculative things, the notion of whether the code is "correct" could change from moment to moment, so I find it much more useful to look at what it's doing than to test if what it's doing matches a spec that doesn't exist.
Re:Getting Creative with MapReduce by sritchie on Friday September 30, 2011 @03:28PM (#3058259)
Hey, if it works, no problems here.

Personally, I've found it really helpful to be able to think of and test queries as pure functions (without side effects related to data storage). Composable, pure queries keep our code base really small, and allow us to code and test features in hours.

I end up writing and testing a lot of queries that I never use in production, but it's this play that allows the good stuff to bubble up.