In his farewell address as president Tuesday, Barack Obama warned of the dangers of uncontrolled partisanship.