Civil codes contain a comprehensive statement of rules. Many are framed as broad, general principles to deal with any dispute that may arise. Unlike common-law courts, courts in a civil-law system first look to a civil code, then refer to previous decisions to see if they’re consistent.