>>12493893Hidden Power
exact HP to get the most out of leftovers, take the least from stealth rock, etc.
speed, like you said.
Oh, and you can design EV spreads that are almost perfectly efficient - that have just enough defense to survive a specific attack from a specific pokemon, or just enough attack to guarantee a KO against a certain pokemon. All that goes out the window when you have a 31-point spread
It DOES matter.