In a common law system courts rely on "precedents" (what was decided in similar cases earlier) . In Germany, courts look to a comprehensive system of legal codes. The codes set out legal principles or basic ideas, and have to decide each case by comparing the facts of the case to those principles, not to what another judges decided earlier.