TDD helps you break down tasks and, when you lose focus, you can regain it by re-running your test suite and seeing which test fails.
Pair programming help you because:
- They'll tend to have closer to a 10-6 schedule rather than encouraging you to stay up late.
- When talking through the problem with a colleague, you break the task down more easily and get through whatever mental block you have.
- You can't get distracted when someone else is right there.
It may be harder to find a company that does this because many folks think that they can move faster if they build something the "quick and dirty" way. "Quick and dirty" doesn't exist for you. "Quick and dirty" means that the project either fails outright or is one that you start procrastinating on until you get fired.
Take a look at the book The Clean Coder (http://www.amazon.com/The-Clean-Coder-Professional-Programme...). It talks about procrastination and how to overcome it.
For a practical introduction to TDD, I'm a fan of Test-Driven Web Development with Python. It is Free. http://chimera.labs.oreilly.com/books/1234000000754