Skip to content

Instantly share code, notes, and snippets.

@ryanorsinger
Created October 24, 2017 20:46
Show Gist options
  • Save ryanorsinger/fe2884678040e9871a32671dba827cdf to your computer and use it in GitHub Desktop.
Save ryanorsinger/fe2884678040e9871a32671dba827cdf to your computer and use it in GitHub Desktop.
How to start a programming exercise
"How to get started on a Codeup exercise"
1. With intent, read the curriculum and the code examples
2. Go back and read the example code very closely, slowly, and deliberately.
3. Copy that code into your editor.
- Identify the pieces of syntax that you recognize.
- Identify the code for the new concept that you're working with.
- Ask yourself questions about the code example
- What is this entire code example supposed to do?
- What piece of the language is this new concept?
- Is the new code a new piece of syntax? Or is it an existing piece of syntax?
4. Run the example code
5. Observe results
6. Try modifying the example code so that you change variables to see different results (one at a time...)
7. Try removing as many moving pieces from the code for the new concept as possible... try to isolate a unit of work that uses the new concept and test it in isolation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment