Hmmm... before you jump on me, you should probably develop reading skills better than your average internet trolltard.
10 talent points will get you around level 20... so keeping that in mind, a lowbie warrior is referring to around the same. I don't know what there is to argue; I'm playing a rogue, a hunter and a warrior... statwise, the pet is just far superior; better stats, better armor, and better automation. Obviously a warrior will develop skills far in excess of a pet... but the fact that it has more armor, more health, can be healed, and is essentially at your command makes it a better tank at such an early stage.
But even still, as a levelling companion, a strong pet is probably the best thing you can get for all the aforementioned reasons... along with trap, can help crowd control in critical moments... link, trap, link, scarebeast... link, get the pet to draw aggro. A hunter has a lot of options; and they're strengthened with a good pet.
If you're fighting in groups, then it's most probable that you're at a point where plate armor starts becoming effective... and the warriors skills in threat generation are unrivaled; at which point, without a doubt, you want the warrior tanking... and you have to operate in consideration of that. That's just basic MMO. Another pretty basic element is... if the game gives you the option, it's going to be more efficient to level solo... unless you have the benefit of playing with someone(s) that conforms rigidly to your schedule (so you can team up).