According to Sanderson's Law of Magic, what is the difference between hard and soft magic?

Hard magic is always strictly constrained by a set of rules which can simulate a more ordered world to the reader, while soft magic if more flexible, has no clearly defined limitations and can be used to imbue a sense of wonder to the reader.