Skip to content

Instantly share code, notes, and snippets.

@adamki
Forked from rrgayhart/recursion.markdown
Last active February 26, 2016 21:43
Show Gist options
  • Save adamki/cf986ec2cb4bb59066e7 to your computer and use it in GitHub Desktop.
Save adamki/cf986ec2cb4bb59066e7 to your computer and use it in GitHub Desktop.
Recursion and Generators Homework
  • Watch Recursion

  • Fork this gist

  • Answer the following questions in your fork

    • Do you pronounce 'babel' in the same way? I was watchng with Subtitles and trying to be quiet. Youtube detects his pronuncition as Bubble. I learned not to npm install -g bubble.

      Also, the music is really good in this video.

      • Follow Up Question: Will you now?
        Yes.
    • What is an example of why/where you might use recursion

    First, and for loop CAN be turned into a recursive statement. However, recursion offers more. He demoes how he can recursively build a tree whilst avoiding nested for loops. Nobody likes nesting.

@rrgayhart
Copy link

I laughed out loud at npm install bubble

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