Solutions
The solutions to the Object-Oriented thinking workshop can be downloaded as a git bundle from here:
How to use the bundle
First, download the bundle and clone it locally on you machine with
git clone OOPthinking.bundle
Then you will be able to see all the branches and commits of the bundle.
In particular, an easy way to navigate the solutions is to use the tags: the bundle contains so-called git
tags, which are shortcuts to commits. You can see all the tags by typing
git tag
inside your cloned repository.
You have two main parts for this workshop:
- The tasks of Hands on objects and classes are labelled
1.x
where x is the number of the task - The tasks of Completing the OOP design of the project are labelled
2.x
where x is the number of the task
To access the state of the repository for a particular task just use git checkout <task-number>
. So, for example, to access task 4 of Hands on objects and classes just type
git checkout 1.4
You can always go back to the main branch with
git checkout main