Painting hub with anti seize bad?

just watched FCPEuro on YouTube and the guy painted the entire hub. Is this okay or too much? I read hubs need friction and anti seize would remove that friction.