News for hackers. Stuff that matters.
Re:Ask HN: What are some rite-of-passage style projects for ... by framebit on Tuesday May 17, 2016 @09:51AM (#11713585)
Building fundamental data structures and implementing classic algorithms is a phenomenal way to learn about unit testing. How else are you going to make sure your doubly-linked list is doing the right thing?

It's much more difficult to learn about unit testing when you have the complications of a project stack: databases, front ends, etc. The fundamental data structures are self contained and their behavior down to the last detail (the spec) is fully described. That's an ideal way to learn about writing good unit tests.

Re:Ask HN: What are some rite-of-passage style projects for ... by collyw on Tuesday May 17, 2016 @10:46AM (#11714064)
Unit testing is not the be all and end all of writing an application.