in reply to Does anybody write tests first?

I always write tests first when writing a library, especially one to be used by others. A while ago I summarized the benefits of doing that in: Re: Winning people over to better development practises (TDD).