500 Lines or Less

"What I cannot create, I do not understand."

-- Richard Feynman

This is the source for the book 500 Lines or Less, the fourth in the Architecture of Open Source Applications series. As with other books in the series, all written material will be covered by the Creative Commons - Attribution license, and all code by the MIT License: please see the license description for details. In addition, all royalties from paid-for versions will all go to Amnesty International.

The production of this book has been made possible by the financial support of PagerDuty.

PagerDuty Logo

Mission

Every architect studies family homes, apartments, schools, and other common types of buildings during her training. Equally, every programmer ought to know how a compiler turns text into instructions, how a spreadsheet updates cells, and how a database efficiently persists data.

Previous books in the AOSA series have done this by describing the high-level architecture of several mature open-source projects. While the lessons learned from those stories are valuable, they are sometimes difficult to absorb for programmers who have not yet had to build anything at that scale.

"500 Lines or Less" focuses on the design decisions and tradeoffs that experienced programmers make when they are writing code:

  • Why divide the application into these particular modules with these particular interfaces?
  • Why use inheritance here and composition there?
  • How do we predict where our program might need to be extended, and how can we make that easy for other programmers?

Each chapter consists of a walkthrough of a program that solves a canonical problem in software engineering in at most 500 source lines of code. We hope that the material in this book will help readers understand the varied approaches that engineers take when solving problems in different domains, and will serve as a basis for projects that extend or modify the contributions here.

Contributors

Name Affiliation Project Online GitHub
Mike DiBernardo Wave editorial MichaelDiBernardo
Amy Brown indie editorial amyrbrown
Allison Kaptur Dropbox byterun akaptur
Audrey Tang g0v.tw, Socialtext, Apple spreadsheet audreyt
Brandon Rhodes Dropbox contingent brandon-rhodes
Carl Friedrich Bolz King's College London object model cfbolz
Cate Huston   Image Filter app catehstn
Christian Muise University of Melbourne flow-shop haz
Daniel Jackson   same-origin-policy    
Daniel Rocco BrightLink Technology contingent drocco007
Dann Toliver Bento Box dagoba dxnn
Dessy Daskalov Nudge Rewards Pedometer dessy
Dethe Elza   blockcode   dethe
Dustin Mitchell Mozilla cluster   djmitche
Erick Dransch   Modeller EkkiD
Eunsuk Kang   same-origin-policy    
Greg Wilson   web-server gvwilson
Guido van Rossum Dropbox crawler gvanrossum
A. Jesse Jiryu Davis MongoDB crawler ajdavis
Jessica Hamrick University of California, Berkeley sampler jhamrick
Leah Hanson Google static analysis astrieanna
Leo Zovic   event-web-framework    
Malini Das Twitch ci malini
Marina Samuel Mozilla ocr emtwo
Ned Batchelder edX templating engine nedbat
Santiago Perez De Rosso   same-origin-policy    
Taavi Burns Previously at Points, now at PagerDuty data-store taavi
Yoav Rubin Microsoft In-memory functional database yoavrubin

Technical Reviewers

Amber Yust Andrew Gwozdziewycz Andrew Kuchling
Andrew Svetlov Andy Shen Anton Beloglazov
Ben Trofatter Borys Pierov Carise Fernandez
Charles Stanhope Chris Atlee Chris Seaton
Cyryl Płotnicki-Chudyk Dan Langer Dan Shapiro
David Pokorny Eric Bouwers Frederic De Groef
Graham Lee Gregory Eric Sanderson James O'Beirne
Jan de Baat Jana Beck Jessica McKellar
Jo Van Eyck Joel Crocker Johan Thelin
Johannes Fürmann John Morrissey Joseph Kaptur
Josh Crompton Joshua T. Corbin Kevin Huang
Maggie Zhou Marc Towler Marcin Milewski
Marco Lancini Mark Reid Matthias Bussonnier
Max Mautner Meggin Kearney Mike Aquino
Natalie Black Nick Presta Nikhil Almeida
Nolan Prescott Paul Martin Piotr Banaszkiewicz
Preston Holmes Pulkit Sethi Rail Aliiev
Ronen Narkis Rose Ames Sina Jahan
Stefan Turalski William Lachance

aosabook/500lines

{
"props": {
"initialPayload": {
"allShortcutsEnabled": false,
"path": "/",
"repo": {
"id": 14098121,
"defaultBranch": "master",
"name": "500lines",
"ownerLogin": "aosabook",
"currentUserCanPush": false,
"isFork": false,
"isEmpty": false,
"createdAt": "2013-11-04T02:02:53.000Z",
"ownerAvatar": "https://avatars.githubusercontent.com/u/5631751?v=4",
"public": true,
"private": false,
"isOrgOwned": false
},
"currentUser": null,
"refInfo": {
"name": "master",
"listCacheKey": "v0:1669849185.603195",
"canEdit": false,
"refType": "branch",
"currentOid": "fba689d101eb5600f5c8f4d7fd79912498e950e2"
},
"tree": {
"items": [
{
"name": "_build",
"path": "_build",
"contentType": "directory"
},
{
"name": "blockcode",
"path": "blockcode",
"contentType": "directory"
},
{
"name": "ci",
"path": "ci",
"contentType": "directory"
},
{
"name": "cluster",
"path": "cluster",
"contentType": "directory"
},
{
"name": "contingent",
"path": "contingent",
"contentType": "directory"
},
{
"name": "crawler",
"path": "crawler",
"contentType": "directory"
},
{
"name": "dagoba",
"path": "dagoba",
"contentType": "directory"
},
{
"name": "data-store",
"path": "data-store",
"contentType": "directory"
},
{
"name": "epub",
"path": "epub",
"contentType": "directory"
},
{
"name": "event-web-framework",
"path": "event-web-framework",
"contentType": "directory"
},
{
"name": "flow-shop",
"path": "flow-shop",
"contentType": "directory"
},
{
"name": "functionalDB",
"path": "functionalDB",
"contentType": "directory"
},
{
"name": "html",
"path": "html",
"contentType": "directory"
},
{
"name": "image-filters",
"path": "image-filters",
"contentType": "directory"
},
{
"name": "incomplete",
"path": "incomplete",
"contentType": "directory"
},
{
"name": "interpreter",
"path": "interpreter",
"contentType": "directory"
},
{
"name": "minutiae",
"path": "minutiae",
"contentType": "directory"
},
{
"name": "modeller",
"path": "modeller",
"contentType": "directory"
},
{
"name": "objmodel",
"path": "objmodel",
"contentType": "directory"
},
{
"name": "ocr",
"path": "ocr",
"contentType": "directory"
},
{
"name": "pedometer",
"path": "pedometer",
"contentType": "directory"
},
{
"name": "resource",
"path": "resource",
"contentType": "directory"
},
{
"name": "same-origin-policy",
"path": "same-origin-policy",
"contentType": "directory"
},
{
"name": "sampler",
"path": "sampler",
"contentType": "directory"
},
{
"name": "spreadsheet",
"path": "spreadsheet",
"contentType": "directory"
},
{
"name": "static-analysis",
"path": "static-analysis",
"contentType": "directory"
},
{
"name": "template-engine",
"path": "template-engine",
"contentType": "directory"
},
{
"name": "tex",
"path": "tex",
"contentType": "directory"
},
{
"name": "web-server",
"path": "web-server",
"contentType": "directory"
},
{
"name": ".gitignore",
"path": ".gitignore",
"contentType": "file"
},
{
"name": "BUILD.md",
"path": "BUILD.md",
"contentType": "file"
},
{
"name": "LICENSE.md",
"path": "LICENSE.md",
"contentType": "file"
},
{
"name": "README.md",
"path": "README.md",
"contentType": "file"
},
{
"name": "build.py",
"path": "build.py",
"contentType": "file"
},
{
"name": "requirements.txt",
"path": "requirements.txt",
"contentType": "file"
}
],
"templateDirectorySuggestionUrl": null,
"readme": null,
"totalCount": 35,
"showBranchInfobar": false
},
"fileTree": null,
"fileTreeProcessingTime": null,
"foldersToFetch": [],
"treeExpanded": false,
"symbolsExpanded": false,
"isOverview": true,
"overview": {
"banners": {
"shouldRecommendReadme": false,
"isPersonalRepo": false,
"showUseActionBanner": false,
"actionSlug": null,
"actionId": null,
"showProtectBranchBanner": false,
"recentlyTouchedDataChannel": null,
"publishBannersInfo": {
"dismissActionNoticePath": "/settings/dismiss-notice/publish_action_from_repo",
"releasePath": "/aosabook/500lines/releases/new?marketplace=true",
"showPublishActionBanner": false
},
"interactionLimitBanner": null,
"showInvitationBanner": false,
"inviterName": null
},
"codeButton": {
"contactPath": "/contact",
"isEnterprise": false,
"local": {
"protocolInfo": {
"httpAvailable": true,
"sshAvailable": null,
"httpUrl": "https://github.com/aosabook/500lines.git",
"showCloneWarning": null,
"sshUrl": null,
"sshCertificatesRequired": null,
"sshCertificatesAvailable": null,
"ghCliUrl": "gh repo clone aosabook/500lines",
"defaultProtocol": "http",
"newSshKeyUrl": "/settings/ssh/new",
"setProtocolPath": "/users/set_protocol"
},
"platformInfo": {
"cloneUrl": "https://desktop.github.com",
"showVisualStudioCloneButton": false,
"visualStudioCloneUrl": "https://windows.github.com",
"showXcodeCloneButton": false,
"xcodeCloneUrl": "https://developer.apple.com",
"zipballUrl": "/aosabook/500lines/archive/refs/heads/master.zip"
}
},
"newCodespacePath": "/codespaces/new?hide_repo_select=true&repo=14098121"
},
"popovers": {
"rename": null,
"renamedParentRepo": null
},
"commitCount": "3,297",
"overviewFiles": [
{
"displayName": "README.md",
"repoName": "500lines",
"refName": "master",
"path": "README.md",
"preferredFileType": "readme",
"tabName": "README",
"richText": "<article class=\"markdown-body entry-content container-lg\" itemprop=\"text\"><h1 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-500-lines-or-less\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#500-lines-or-less\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a><em>500 Lines or Less</em></h1>\n<blockquote>\n<p dir=\"auto\">\"What I cannot create, I do not understand.\"</p>\n<p dir=\"auto\">-- Richard Feynman</p>\n</blockquote>\n<p dir=\"auto\">This is the source for the book <em>500 Lines or Less</em>, the fourth in the\n<a href=\"http://aosabook.org\" rel=\"nofollow\">Architecture of Open Source Applications</a> series. As\nwith other books in the series, all written material will be covered by the\nCreative Commons - Attribution license, and all code by the MIT License: please\nsee the <a href=\"/aosabook/500lines/blob/master/LICENSE.md\">license description</a> for details. In addition, all\nroyalties from paid-for versions will all go to Amnesty International.</p>\n<p dir=\"auto\">The production of this book has been made possible by the financial support of\n<a href=\"http://www.pagerduty.com/company/work-with-us/\" rel=\"nofollow\">PagerDuty</a>.</p>\n<p align=\"center\" dir=\"auto\">\n <a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://github.com/aosabook/500lines/raw/master/resource/pagerduty_logo.png\"><img src=\"https://github.com/aosabook/500lines/raw/master/resource/pagerduty_logo.png\" alt=\"PagerDuty Logo\" style=\"max-width: 100%;\"></a>\n</p>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-mission\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#mission\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>Mission</h2>\n<p dir=\"auto\">Every architect studies family homes, apartments, schools, and other common\ntypes of buildings during her training. Equally, every programmer ought to\nknow how a compiler turns text into instructions, how a spreadsheet updates\ncells, and how a database efficiently persists data.</p>\n<p dir=\"auto\">Previous books in the AOSA series have done this by describing the high-level\narchitecture of several mature open-source projects. While the lessons learned\nfrom those stories are valuable, they are sometimes difficult to absorb for\nprogrammers who have not yet had to build anything at that scale.</p>\n<p dir=\"auto\">\"500 Lines or Less\" focuses on the design decisions and tradeoffs that\nexperienced programmers make when they are writing code:</p>\n<ul dir=\"auto\">\n<li>Why divide the application into these particular modules with these\nparticular interfaces?</li>\n<li>Why use inheritance here and composition there?</li>\n<li>How do we predict where our program might need to be extended, and how can\nwe make that easy for other programmers?</li>\n</ul>\n<p dir=\"auto\">Each chapter consists of a walkthrough of a program that solves a canonical\nproblem in software engineering in at most 500 source lines of code. We hope\nthat the material in this book will help readers understand the varied\napproaches that engineers take when solving problems in different domains, and\nwill serve as a basis for projects that extend or modify the contributions\nhere.</p>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-contributors\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#contributors\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>Contributors</h2>\n<table>\n <tbody><tr>\n <th>Name</th>\n <th>Affiliation</th>\n <th>Project</th>\n <th>Online</th>\n <th>GitHub</th>\n </tr>\n <tr>\n <td>Mike DiBernardo</td>\n <td>Wave</td>\n <td>editorial</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/mdibernardo\" rel=\"nofollow\">@mdibernardo</a></li>\n <li><a href=\"http://mikedebo.ca\" rel=\"nofollow\">mikedebo.ca</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/MichaelDiBernardo\">MichaelDiBernardo</a></td>\n </tr>\n <tr>\n <td>Amy Brown</td>\n <td>indie</td>\n <td>editorial</td>\n <td><ul dir=\"auto\"><li><a href=\"http://www.amyrbrown.ca/\" rel=\"nofollow\">amyrbrown.ca</a></li>\n <li><a href=\"http://www.twitter.com/amyrbrown\" rel=\"nofollow\">@amyrbrown</a></li></ul></td>\n <td><a href=\"https://github.com/amyrbrown\">amyrbrown</a></td>\n </tr>\n <tr>\n <td>Allison Kaptur</td>\n <td>Dropbox</td>\n <td>byterun</td>\n <td><ul dir=\"auto\"><li><a href=\"https://twitter.com/akaptur\" rel=\"nofollow\">@akaptur</a></li></ul></td>\n <td><a href=\"https://github.com/akaptur\">akaptur</a></td>\n </tr>\n <tr>\n <td>Audrey Tang</td>\n <td>g0v.tw, Socialtext, Apple</td>\n <td>spreadsheet</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/audreyt\" rel=\"nofollow\">@audreyt</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/audreyt\">audreyt</a></td>\n </tr>\n <tr>\n <td>Brandon Rhodes</td>\n <td>Dropbox</td>\n <td>contingent</td>\n <td><ul dir=\"auto\"><li><a href=\"https://twitter.com/brandon_rhodes\" rel=\"nofollow\">@brandon_rhodes</a></li></ul></td>\n <td><a href=\"https://github.com/brandon-rhodes\">brandon-rhodes</a></td>\n </tr>\n <tr>\n <td>Carl Friedrich Bolz</td>\n <td>King's College London</td>\n <td>object model</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://cfbolz.de\" rel=\"nofollow\">cfbolz.de</a></li>\n <li><a href=\"https://twitter.com/cfbolz\" rel=\"nofollow\">@cfbolz</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/cfbolz\">cfbolz</a></td>\n </tr>\n <tr>\n <td>Cate Huston</td>\n <td> </td>\n <td>Image Filter app</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"http://www.accidentallyincode.com/\" rel=\"nofollow\">www.accidentallyincode.com/</a></li>\n <li><a href=\"https://twitter.com/catehstn\" rel=\"nofollow\">@catehstn</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/catehstn\">catehstn</a></td>\n </tr>\n <tr>\n <td>Christian Muise</td>\n <td>University of Melbourne</td>\n <td>flow-shop</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/cjmuise\" rel=\"nofollow\">@cjmuise</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/haz\">haz</a></td>\n </tr>\n <tr>\n <td>Daniel Jackson</td>\n <td> </td>\n <td>same-origin-policy</td>\n <td> </td>\n <td> </td>\n </tr>\n <tr>\n <td>Daniel Rocco</td>\n <td>BrightLink Technology</td>\n <td>contingent</td>\n <td><ul dir=\"auto\"><li><a href=\"https://twitter.com/drocco007\" rel=\"nofollow\">@drocco007</a></li></ul></td>\n <td><a href=\"https://github.com/drocco007\">drocco007</a></td>\n </tr>\n <tr>\n <td>Dann Toliver</td>\n <td>Bento Box</td>\n <td>dagoba</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"http://danntoliver.com\" rel=\"nofollow\">danntoliver.com</a></li>\n <li><a href=\"https://twitter.com/dann\" rel=\"nofollow\">@dann</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/dxnn\">dxnn</a></td>\n </tr>\n <tr>\n <td>Dessy Daskalov</td>\n <td>Nudge Rewards</td>\n <td>Pedometer</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"http://www.dessydaskalov.com/\" rel=\"nofollow\">www.dessydaskalov.com</a></li>\n <li><a href=\"https://twitter.com/dess_e\" rel=\"nofollow\">@dess_e</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/dessy\">dessy</a></td>\n </tr>\n <tr>\n <td>Dethe Elza</td>\n <td> </td>\n <td>blockcode</td>\n <td> </td>\n <td><a href=\"https://github.com/dethe\">dethe</a></td>\n </tr>\n <tr>\n <td>Dustin Mitchell</td>\n <td>Mozilla</td>\n <td>cluster</td>\n <td> </td>\n <td><a href=\"https://github.com/djmitche\">djmitche</a></td>\n </tr>\n <tr>\n <td>Erick Dransch</td>\n <td> </td>\n <td>Modeller</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/ErickDransch\" rel=\"nofollow\">@ErickDransch</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/EkkiD\">EkkiD</a></td>\n </tr>\n <tr>\n <td>Eunsuk Kang</td>\n <td> </td>\n <td>same-origin-policy</td>\n <td> </td>\n <td> </td>\n </tr>\n <tr>\n <td>Greg Wilson</td>\n <td> </td>\n <td>web-server</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/gvwilson\" rel=\"nofollow\">@gvwilson</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/gvwilson\">gvwilson</a></td>\n </tr>\n <tr>\n <td>Guido van Rossum</td>\n <td>Dropbox</td>\n <td>crawler</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/gvanrossum\" rel=\"nofollow\">@gvanrossum</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/gvanrossum\">gvanrossum</a></td>\n </tr>\n <tr>\n <td>A. Jesse Jiryu Davis</td>\n <td>MongoDB</td>\n <td>crawler</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/jessejiryudavis\" rel=\"nofollow\">@jessejiryudavis</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/ajdavis\">ajdavis</a></td>\n </tr>\n <tr>\n <td>Jessica Hamrick</td>\n <td>University of California, Berkeley</td>\n <td>sampler</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"http://www.jesshamrick.com\" rel=\"nofollow\">www.jesshamrick.com</a></li>\n <li><a href=\"https://twitter.com/jhamrick\" rel=\"nofollow\">@jhamrick</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/jhamrick\">jhamrick</a></td>\n </tr>\n <tr>\n <td>Leah Hanson</td>\n <td>Google</td>\n <td>static analysis</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/astrieanna\" rel=\"nofollow\">@astrieanna</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/astrieanna\">astrieanna</a></td>\n </tr>\n <tr>\n <td>Leo Zovic</td>\n <td> </td>\n <td>event-web-framework</td>\n <td> </td>\n <td> </td>\n </tr>\n <tr>\n <td>Malini Das</td>\n <td>Twitch</td>\n <td>ci</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"http://malinidas.com\" rel=\"nofollow\">malinidas.com</a></li>\n <li><a href=\"https://twitter.com/malinidas\" rel=\"nofollow\">@malinidas</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/malini\">malini</a></td>\n </tr>\n <tr>\n <td>Marina Samuel</td>\n <td>Mozilla</td>\n <td>ocr</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"http://marinasamuel.com\" rel=\"nofollow\">www.marinasamuel.com</a></li>\n <li><a href=\"https://twitter.com/emtwos\" rel=\"nofollow\">@emtwos</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/emtwo\">emtwo</a></td>\n </tr>\n <tr>\n <td>Ned Batchelder</td>\n <td>edX</td>\n <td>templating engine</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"http://nedbatchelder.com\" rel=\"nofollow\">nedbatchelder.com</a></li>\n <li><a href=\"https://twitter.com/nedbat\" rel=\"nofollow\">@nedbat</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/nedbat\">nedbat</a></td>\n </tr>\n <tr>\n <td>Santiago Perez De Rosso</td>\n <td> </td>\n <td>same-origin-policy</td>\n <td> </td>\n <td> </td>\n </tr>\n <tr>\n <td>Taavi Burns</td>\n <td>Previously at Points, now at PagerDuty</td>\n <td>data-store</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/jaaaarel\" rel=\"nofollow\">@jaaaarel</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/taavi\">taavi</a></td>\n </tr>\n <tr>\n <td>Yoav Rubin</td>\n <td>Microsoft</td>\n <td>In-memory functional database</td>\n <td>\n <ul dir=\"auto\">\n <li><a href=\"https://twitter.com/yoavrubin\" rel=\"nofollow\">@yoavrubin</a></li>\n </ul>\n </td>\n <td><a href=\"https://github.com/yoavrubin\">yoavrubin</a></td>\n </tr>\n</tbody></table>\n<h2 tabindex=\"-1\" dir=\"auto\"><a id=\"user-content-technical-reviewers\" class=\"anchor\" aria-hidden=\"true\" tabindex=\"-1\" href=\"#technical-reviewers\"><svg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"><path d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"></path></svg></a>Technical Reviewers</h2>\n<table>\n <tbody><tr>\n <td>Amber Yust</td>\n <td>Andrew Gwozdziewycz</td>\n <td>Andrew Kuchling</td>\n </tr>\n <tr>\n <td>Andrew Svetlov</td>\n <td>Andy Shen</td>\n <td>Anton Beloglazov</td>\n </tr>\n <tr>\n <td>Ben Trofatter</td>\n <td>Borys Pierov</td>\n <td>Carise Fernandez</td>\n </tr>\n <tr>\n <td>Charles Stanhope</td>\n <td>Chris Atlee</td>\n <td>Chris Seaton</td>\n </tr>\n <tr>\n <td>Cyryl Płotnicki-Chudyk</td>\n <td>Dan Langer</td>\n <td>Dan Shapiro</td>\n </tr>\n <tr>\n <td>David Pokorny</td>\n <td>Eric Bouwers</td>\n <td>Frederic De Groef</td>\n </tr>\n <tr>\n <td>Graham Lee</td>\n <td>Gregory Eric Sanderson</td>\n <td>James O'Beirne</td>\n </tr>\n <tr>\n <td>Jan de Baat</td>\n <td>Jana Beck</td>\n <td>Jessica McKellar</td>\n </tr>\n <tr>\n <td>Jo Van Eyck</td>\n <td>Joel Crocker</td>\n <td>Johan Thelin</td>\n </tr>\n <tr>\n <td>Johannes Fürmann</td>\n <td>John Morrissey</td>\n <td>Joseph Kaptur</td>\n </tr>\n <tr>\n <td>Josh Crompton</td>\n <td>Joshua T. Corbin</td>\n <td>Kevin Huang</td>\n </tr>\n <tr>\n <td>Maggie Zhou</td>\n <td>Marc Towler</td>\n <td>Marcin Milewski</td>\n </tr>\n <tr>\n <td>Marco Lancini</td>\n <td>Mark Reid</td>\n <td>Matthias Bussonnier</td>\n </tr>\n <tr>\n <td>Max Mautner</td>\n <td>Meggin Kearney</td>\n <td>Mike Aquino</td>\n </tr>\n <tr>\n <td>Natalie Black</td>\n <td>Nick Presta</td>\n <td>Nikhil Almeida</td>\n </tr>\n <tr>\n <td>Nolan Prescott</td>\n <td>Paul Martin</td>\n <td>Piotr Banaszkiewicz</td>\n </tr>\n <tr>\n <td>Preston Holmes</td>\n <td>Pulkit Sethi</td>\n <td>Rail Aliiev</td>\n </tr>\n <tr>\n <td>Ronen Narkis</td>\n <td>Rose Ames</td>\n <td>Sina Jahan</td>\n </tr>\n <tr>\n <td>Stefan Turalski</td>\n <td>William Lachance</td>\n </tr>\n</tbody></table>\n</article>",
"loaded": true,
"timedOut": false,
"errorMessage": null,
"headerInfo": {
"toc": [
{
"level": 1,
"text": "500 Lines or Less",
"anchor": "500-lines-or-less",
"htmlText": "500 Lines or Less"
},
{
"level": 2,
"text": "Mission",
"anchor": "mission",
"htmlText": "Mission"
},
{
"level": 2,
"text": "Contributors",
"anchor": "contributors",
"htmlText": "Contributors"
},
{
"level": 2,
"text": "Technical Reviewers",
"anchor": "technical-reviewers",
"htmlText": "Technical Reviewers"
}
],
"siteNavLoginPath": "/login?return_to=https%3A%2F%2Fgithub.com%2Faosabook%2F500lines"
}
},
{
"displayName": "LICENSE.md",
"repoName": "500lines",
"refName": "master",
"path": "LICENSE.md",
"preferredFileType": "license",
"tabName": "License",
"richText": null,
"loaded": false,
"timedOut": false,
"errorMessage": null,
"headerInfo": {
"toc": null,
"siteNavLoginPath": "/login?return_to=https%3A%2F%2Fgithub.com%2Faosabook%2F500lines"
}
}
],
"overviewFilesProcessingTime": 15.779009
}
},
"appPayload": {
"helpUrl": "https://docs.github.com",
"findFileWorkerPath": "/assets-cdn/worker/find-file-worker-32bb159cc57c.js",
"findInFileWorkerPath": "/assets-cdn/worker/find-in-file-worker-c6704d501c10.js",
"githubDevUrl": null,
"enabled_features": {
"code_nav_ui_events": false,
"copilot_conversational_ux": false,
"copilot_conversational_ux_embedding_update": false,
"copilot_popover_file_editor_header": false,
"copilot_smell_icebreaker_ux": true,
"copilot_workspace": false,
"codeview_firefox_inert": true
}
}
}
}
{
"accept-ranges": "bytes",
"cache-control": "max-age=0, private, must-revalidate",
"content-encoding": "gzip",
"content-security-policy": "default-src 'none'; base-uri 'self'; child-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com api.githubcopilot.com objects-origin.githubusercontent.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/",
"content-type": "text/html; charset=utf-8",
"date": "Sat, 24 Feb 2024 22:31:02 GMT",
"etag": "7ccdbaec69ff21a50989542262fcab02",
"referrer-policy": "no-referrer-when-downgrade",
"server": "GitHub.com",
"set-cookie": "logged_in=no; Path=/; Domain=github.com; Expires=Mon, 24 Feb 2025 22:31:02 GMT; HttpOnly; Secure; SameSite=Lax",
"strict-transport-security": "max-age=31536000; includeSubdomains; preload",
"transfer-encoding": "chunked",
"vary": "X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With",
"x-content-type-options": "nosniff",
"x-frame-options": "deny",
"x-github-request-id": "8E9E:27CDE2:1ED3F3F:2B28645:65DA6E26",
"x-xss-protection": "0"
}