I personally believe in committing as early as possible, it's never too soon to screw up your code and having to go back.