In tort law if you come from the perspective of the economist then judges behave ‘as if’ they were setting precedents that discourages negligent behaviour. There are two primary approaches:
1) ex ante: precedent used as deterrent,
2) ex post: used to compensate victims.
Both of these approaches may work yet expost may have additional complications.