One of the most helpful tools when first learning to code is articulating in plain English what a puzzling piece of code does for you. This is because the act of researching and expressing the code's purpose in your own words helps ingrain that purpose in your mind. That said, your homework tonight is to identify the commands you used today and in your prework and mindfully break them down.
- develop a strategy for breaking down and documenting unfamiliar code
- gain experience using Markdown, the open-source formatting language
- gain practical experience using Git for version control
- gain muscle memory for making frequent, sensible commits
-
If you haven't, use the command line to create a directory on your desktop called
markdown_assignments. Within this directory, touch a new file calledcode_snippet_breakdowns.md. -
Identify 10 commands from the terminal and/or git that you have trouble remembering or that you would like to understand further. List these commands in
code_snippet_breakdowns.md. -
Research each command, and provide a description of each command's purpose in your own words. If you have issues remembering a particular command, come up with a mnemonic or analogy to help and add it to the description.
-
Format the code snippet as a code, and the description as standard text.
- Example:
ls -ais a terminal command that outputs a list of all the files in a given directory. The-aflag means I want to see not just the regular files, but the hidden files as well.
- Example:
Create a table layout for your code snippets, as seen here.