Depends on the type of commute you have, and the distance. 10 miles one way on street, and the road bikes, touring bikes, and cyclocross bikes begin to have a real advantage. Throw in some crushed gravel paths, the cyclocross and touring bikes have an advantage due to wider tires. Toruing and cyclocross bikes can accept fenders and wider tires.
If your commute is less than 5 miles one way, you won't be on it long enough for it to matter. If you want to jump curbs, ride down steps, and other un-roadly type things, Mountain bikes have the advantage.