It is fully intentional to have both spontaneous magic and spells.
Spells are your ready-made scripts. They do one thing, they do it well and reliably. Spontaneous casting is there if you don't have a spell ready that does what you need to do, but it's always a bit risky and never as reliable.