Micro controllers

and what about the coding?? ... is there any difference about coding ??
i ve to make led cube.... for that which microcontroller is better anmega 8 or atmega 32 or both??