3 ms·
Attempting to adhere to two conflicting laws results in undefined behavior. And as we all know, undefined behavior can mean anything, including exterminating al
by jkubicek 12y ago
Attempting to adhere to two conflicting laws results in undefined behavior. And as we all know, undefined behavior can mean anything, including exterminating all humans.
- ta_28k198 12y agoswitch(getJurisdictionalPrecedence(&law)){ case FEDERAL: { setPrimeDirective(law[FEDERAL]); } break; case STATE: { setPrimeDirective(law[STATE]); } break; case CITY: { setPrimeDirective(law[CITY]); } break; default: { setPrimeDirective(this->ExterminateAllHumans()); } break; };
- superobserver 12y agoThat made me LOL. This might actually make for an interesting way (via A.I.) to find loopholes in law, seeing law as a programmatic way to determine acceptable societal PID's.
- thirdtruck 12y agoYou forgot to add this case before the rest: case PHYSICS: { setPrimeDirective(law[PHYSICS]); } break /* at your peril */; :)