News for hackers. Stuff that matters.
Re:Even Tetris is hard to test by gamegoblin on Sunday October 26, 2014 @03:07AM (#8510425)
This is why I like using a randomized framework such as QuickCheck (or its derivatives in non-Haskell languages, such as Java) along with typical unit testing. It's often easier to write than tedious unit tests, and it can catch a lot of funny corner cases you don't even think to test.

Of course, this still isn't a guarantee. But it does make me feel better about my code.

Re:Even Tetris is hard to test by sargun on Sunday October 26, 2014 @07:00AM (#8510766)
I love QuickCheck. It might be a little hard to do for Tetris.
Re:Even Tetris is hard to test by gamegoblin on Sunday October 26, 2014 @09:43AM (#8510983)
Definitely true, but with enough abstraction to small, composable, pure functions, you can get pretty far.