Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Last active March 14, 2025 10:02
Show Gist options
  • Save trikitrok/49a888731ffd4decf9d45ca74f0facb4 to your computer and use it in GitHub Desktop.
Save trikitrok/49a888731ffd4decf9d45ca74f0facb4 to your computer and use it in GitHub Desktop.
Sprout method

Sprout method.

How to do it:

  1. Identify the change point and determine the sprouted method signature (input/output).

    • Pass to the sprouted method any source method’s local variables it needs as parameters.

    • Determine whether the sprouted method will need to return values to any variable in the source method.

  2. Develop the sprouted method with tests.

  3. Call the sprouted method from the source method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment