The best way to learn design is to study examples Schon1984,Petre2016, and some of the best examples of software design come from the tools programmers use in their own work. In these lessons we build small versions of things like file backup systems, testing frameworks, regular expression matchers, and browser layout engines both to demystify them and to give some insights into how experienced programmers think. We draw inspiration from Brown2011,Brown2012,Brown2016, Mary Rose Cook's Gitlet, and the books that introduced the Unix philosophy to an entire generation of programmers Kernighan1979,Kernighan1981,Kernighan1983,Kernighan1988.
All of the written material in this project can be freely reused under the terms of the Creative Commons - Attribution license, while all of the software is made available under the terms of the Hippocratic License; see for details.
All proceeds from this project will go to support the Red Door Family Shelter.
|Systems Programming||Using callbacks to manipulate files and directories|
|Asynchronous Programming||Using promises to manage delayed computation|
|Unit Testing||Testing software piece by piece|
|File Backup||Archiving files with directory structure|
|Data Tables||Storing and manipulating tables efficiently|
|Pattern Matching||Using patterns to find things in data|
|Parsing Expressions||Turning text into code|
|Page Templates||Generating HTML pages from templates|
|Build Manager||Updating files that depend on other files|
|Layout Engine||Figuring out what goes where in a web page|
|File Interpolator||Managing source files that have been broken into pieces|
|Module Loader||Loading source files as modules|
|Style Checker||Checking that code conforms to style guidelines|
|Code Generator||Modifying code to track coverage and execution times|
|Documentation Generator||Generating documentation from comments embedded in code|
|Module Bundler||Turning many files into one|
|Package Manager||Getting and installing packages|
|Virtual Machine||Assembling and running low-level code|
|Debugger||Running programs under the control of a breakpointing debugger|