Ironically, the attempt to prevent illegal states may create "complex" code (quoted since it may be due to perceived or actual complexity).