I auditted the su25 version of UC Berkeley's celebrated CS61B.
There was an interesting project in some previous versions of the course, namely
Gitlet,
which is not in this summer's curriculum.
Nevertheless, I decided to try it out.
This repository contains the cherry-picked project files,
which I then make small adjustments, to so as to make the project layout the same as su25 material.
I also added a simple logger to the Utils
class, so that one can more easily do print debugging themselves.
To do the project for and by yourself
- Read through the course project material. [su24 ver] [sp21 ver]
- Clone using this repo as template.
- Use IntelliJ IDEA.
The Community version is the one that is recommended for the course, be sure to scroll down the page to see it.
The project structure and test-running settings are defined with IDEA configuration files, so there would be more work if you use Gradle or Maven. - Pull the starter code from your new repository, and start coding!
Notes
- If you want to audit this great course in whole as well, the official recommendation is to use the sp21 version; there is a publicly available autograder for that version only.
- Note that the logger I added in
Utils
, is considered a non-trivial field; I hackedGitletTests
to make it work, so your code would fail the actual autograder used in the course at Berkeley. But this version ofGitletTest
does have better readability, which will make your life easier. - To look at my work, see the demo branch. Make sure to check out these other awesome Gitlet implementations as well:
Copyright information: I make no claim to any intellectual property of CS61B and CS61BL staff, or other original authors. I cannot provide a license for this repo, since I cannot be sure of the status of attribution.