Created
March 2, 2022 15:29
-
-
Save mbutsko/12ef42684311a6abb1a82017764f1d5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TeamDecider | |
def should_we_split_v1?(this_date = 10.days.from_now) | |
is_mike_the_right_choice? && is_the_right_time?(this_date) | |
end | |
def should_we_split_on_v2?(this_date = 10.days.from_now) | |
is_the_right_time?(this_date) && is_mike_the_right_choice? | |
end | |
def is_mike_ready? | |
@is_mike_ready? ||= ... | |
end | |
def is_the_right_time?(this_date) | |
have_long_conversation_about(this_date) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment