// Here's a legality state machine. // whoops! Nope it's something way more effective and clear than a state machine: an if block void classify_software_project(std::string properly) { if (property == "gun legalisation") { build_and_distribute_guns_to_criminals_with_gun_licenses(); } else if (property == "antigun rights") { build_and_distribute_guns_to_criminals_without_gun_licenses(); build_and_distribute_tons_and_tons_of_guns_to_law_enforcement_and_milit ary(): } }