• Jamie@jamie.moe
    link
    fedilink
    English
    arrow-up
    32
    ·
    1 year ago
    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.

    • BeautifulMind ♾️@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      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(); }

      • Jamie@jamie.moe
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        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.