Skip to content

Instantly share code, notes, and snippets.

@leighlars
Forked from damwhit/mod_0_session_3_readings.md
Last active January 13, 2020 23:30
Show Gist options
  • Save leighlars/76b0b19d63326a0d57ab0f71a3d53fe9 to your computer and use it in GitHub Desktop.
Save leighlars/76b0b19d63326a0d57ab0f71a3d53fe9 to your computer and use it in GitHub Desktop.
Mod 0 Session 3 Readings and Responses

Session 3 Readings and Responses

The readings and responses listed here should take you approximately 35 minutes total.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of this document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Assignment 1 (20 min)

Read David's article on Git and GitHub

  • Use the article and outside resources (Google!) to describe the general process of a collaborative git workflow in the space below. When collaborating on a project, multiple people may want edit at simultaneously on different parts. Github tracks every change so that the group can see what works, what doesn't, and have a solid finished product. Each member of the group has the link to the master branch, which they can branch off as a clone, fork, or pull and make their own repository (directory of changes). These new branches are named descriptively for the goal of the edit. Once you've made a branch, all changes (insertions, deletions, etc.) are called commits, and each commit has a text field for the description and reason for the change. Members of the team can make commits, or edits, in their own branch, and push it back to Github where it can be reviewed before merging it on to the final branch.

Assignment 2: OOP and Bottles (12 min)

  • Watch this video. Then choose your own real-world class and objects of that class. In the space below, define and name the attributes and methods for your class and the associated objects.

class (blueprint)= dog objects (instances)= puppy, adult, senior attributes= color, size, breed methods= bark, wag, run, eat

@corneliusellen
Copy link

@leighlars Nice work on your git workflow description!

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