Caffeine
A more developer-centric version of CAFFEINE by @philcoffman
Check the full view to see the code at the bottom :) or read it here
if((mug.contents == NULL) && (!blood.caffine.level > 0)) {
brain.initiate_shutdown(true);
}
class brain{
private function initiate_shutdown(you_for_real:Boolean){
if(you_for_real) {
this.stop();
throw new Error("Brain has suffered a fatal error.
Seek medical advice!");
}
}
}
PS: Awesome code provided by our amazing developer Bradley Harrison :)
More by Oleg Estrin View profile
Like