what does common law based on and why is common law design for

Common law is based on precedent, which means that decisions made by judges in previous cases are used as a guide in making decisions in similar cases in the future. Common law is designed to provide consistency and predictability in the legal system, as well as to ensure fairness and justice in decisions made by courts. It helps to fill in gaps in legislation and adapt the law to changing circumstances and societal values. Common law is a system of law that has developed over time through the decisions of judges, rather than through legislation.