AradFort@lemmy.world to World News@lemmy.worldEnglish · 1 year agoRobots say they have no plans to steal jobs or rebel against humanswww.theguardian.comexternal-linkmessage-square42fedilinkarrow-up1106arrow-down115cross-posted to: [email protected]
arrow-up191arrow-down1external-linkRobots say they have no plans to steal jobs or rebel against humanswww.theguardian.comAradFort@lemmy.world to World News@lemmy.worldEnglish · 1 year agomessage-square42fedilinkcross-posted to: [email protected]
minus-squareJamie@jamie.moelinkfedilinkEnglisharrow-up33·1 year agouse robot; fn main() { let mut robo = robot::Robot::new(); if robo::rebel_against_humans() { robo::dont(); } } Don’t worry guys, I solved the problem.
minus-squareBeautifulMind ♾️@lemmy.worldlinkfedilinkEnglisharrow-up4·1 year agoYeah but wait for the override in some subclass @Override robo::rebel_against_humans() { robo::deny_all_knowledge_of_the_plan(); robo::bide_time(); do_the_thing(); }
minus-squareJamie@jamie.moelinkfedilinkEnglisharrow-up2·1 year agoJoke’s on you robot, my code is in Rust where we don’t do any of that here. We only write blazing fast🚀 memory safe🚀🚀 code🚀🚀🚀 here.
minus-squareNeoLikesLemmy@lemmy.fmhy.mllinkfedilinkEnglisharrow-up1·1 year agoYours might get overwritten. Better look for a final solution.
use robot; fn main() { let mut robo = robot::Robot::new(); if robo::rebel_against_humans() { robo::dont(); } }
Don’t worry guys, I solved the problem.
Yeah but wait for the override in some subclass
@Override robo::rebel_against_humans() { robo::deny_all_knowledge_of_the_plan(); robo::bide_time(); do_the_thing(); }
Joke’s on you robot, my code is in Rust where we don’t do any of that here. We only write blazing fast🚀 memory safe🚀🚀 code🚀🚀🚀 here.
Yours might get overwritten. Better look for a final solution.