To answer the original question:
To which I’d like to add this:
Personally, I think that C-3PO was hilarious in the final battle. However, I agree that the comic relief distracts from the battle sequence and should have been cut.
I enjoyed Yoda’s lightsaber duel with Count Dooku as a child, but in retrospect I agree that it is inconsistent with Yoda’s character and should have been cut.
I agree that a lot of the dialogue was poorly written and that the film could have been edited much better. LucasFilm should have hired Hal9000 as an editor.
However, in spite of these flaws, I think that Attack of the Clones is still a decent film. It is only when I compare the film to the Original Trilogy that I find it wanting.