i5 gets my nod for programming.
A10 gets my nod for gamers and programming.

You can find CPUBOSS to compare CPUs but if there is a gamer here, they get the A10 if they can't afford an i5 + GPU laptop.
Bob