Is it more important for a law to be consistent or flexible?

Is it more important for a law to be consistent or flexible?