Here, laws are written by legislation, and interpreted by judges. As judges rule on different laws, the laws build up a case history. This is why becoming a lawyer in the US (especially if you want to be a trial lawyer) is so onerous. Not only do you need to be very familiar with the laws themselves - you have to be very familiar with how the laws have been interpreted since enactment.