Hacker News new | past | comments | ask | show | jobs | submit login

I make no claims about this being better code, but here are two repositories that were developed with 100% TDD.

Let's Play TDD (Java): https://github.com/jamesshore/lets_play_tdd/

Let's Code Test-Driven JavaScript: https://github.com/jamesshore/lets_code_javascript

I'm not trying to blow your socks off—I think the typical programmer will say "yuck!" when looking at any code they haven't seen before—but I thought you might be interested in the examples.

Both of these codebases were developed "live" on camera. You can see the screencasts here:

Let's Play TDD (free): http://www.jamesshore.com/Blog/Lets-Play/

Let's Code JavaScript (monthly subscription): http://www.letscodejavascript.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: