This is under the case of single classing only.
I see in a optimising site saying that Fighter is a better option than Monk even if you are building a dedicated bare hand warrior. I wonder how does that work.
Sure, Fighter has higher BAB. But a Monk can have a much larger damage dice (up to 2d10) which can bring 9 more damage on average per hit than a fighter, and Monks also has two free additional attacks. Since they are both bare hand, the equipment selection would likely be the same. I don't see a reason that Fighter would perform better than Monk in just unarmed attack fighting style, other than having a higher hit point (which is a huge benefit for melee characters) and can wear armor (which is a huge benefit for melee characters until everybody starts getting missing chances).
UPDATE: Fighters have their unique Weapon Focus - Weapon Specialization feat chain that can bring up +2 AB and +4 DMG (and maybe some more if you invest more in it, perhaps towards Weapon Supremacy). Considering that Fighters might be better. But Monks still have their own way to optimize if there's no limitation on sources, I assume.
Is there anything I am missing?