Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mbutsko
Created March 2, 2022 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbutsko/12ef42684311a6abb1a82017764f1d5e to your computer and use it in GitHub Desktop.
Save mbutsko/12ef42684311a6abb1a82017764f1d5e to your computer and use it in GitHub Desktop.
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