Overmixing the batter can make the cake too dense. Undermixing can cause the ingredients to not be properly incorporated. A happy medium is to mix until the ingredient you've added can't be seen anymore. Use a low speed to mix the flour.