Code swapping is a black hat SEO technique similar to cloaking. A website first publishes legitimate content to build authority and rank for high value keywords. Once these rankings are switched, the site replaces their site with their desired content to distribute spam or worse. This is an unsustainable tactic as search engines constantly re-evaluate content and re-rank accordingly.