Read the discussion on HN. A full-thread summary is not available yet.
aosabook
500lines
JavaScript2014–2025
aosabook / 500lines
500lines
500 Lines or Less
36Distinct people
39Mentions
0Explicit recommenders
29.6KGitHub stars
What to know before exploring
What it is
500 Lines or Less
GitHub
Where it is used
No documented product use was verified in the last source check.
What people are saying
No recommendation phrase was found in the indexed comments.
No classified warning is attached to this page. Read the discussions before treating silence as approval.
Also in these discussions
No other repository is repeatedly linked in the same discussions.
This week on Hacker News
Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 3:59:04 AM UTC.
Mentions over time
HN mentions by year39 dated mentions
Observed mentions: 2014-04-17 17:54:44 UTC to 2025-02-10 12:20:28 UTC.
Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.
View mention counts and date ranges
| Period | Start (UTC) | End (exclusive, UTC) | Mentions | Submissions | Comments |
|---|---|---|---|---|---|
| 2014 | 2014-01-01 00:00:00 UTC | 2015-01-01 00:00:00 UTC | 9 | 1 | 8 |
| 2015 | 2015-01-01 00:00:00 UTC | 2016-01-01 00:00:00 UTC | 5 | 1 | 4 |
| 2016 | 2016-01-01 00:00:00 UTC | 2017-01-01 00:00:00 UTC | 11 | 1 | 10 |
| 2017 | 2017-01-01 00:00:00 UTC | 2018-01-01 00:00:00 UTC | 1 | 0 | 1 |
| 2018 | 2018-01-01 00:00:00 UTC | 2019-01-01 00:00:00 UTC | 3 | 1 | 2 |
| 2019 | 2019-01-01 00:00:00 UTC | 2020-01-01 00:00:00 UTC | 3 | 2 | 1 |
| 2020 | 2020-01-01 00:00:00 UTC | 2021-01-01 00:00:00 UTC | 3 | 1 | 2 |
| 2021 | 2021-01-01 00:00:00 UTC | 2022-01-01 00:00:00 UTC | 1 | 0 | 1 |
| 2022 | 2022-01-01 00:00:00 UTC | 2023-01-01 00:00:00 UTC | 2 | 0 | 2 |
| 2023 | 2023-01-01 00:00:00 UTC | 2024-01-01 00:00:00 UTC | 0 | 0 | 0 |
| 2024 | 2024-01-01 00:00:00 UTC | 2025-01-01 00:00:00 UTC | 0 | 0 | 0 |
| 2025 | 2025-01-01 00:00:00 UTC | 2026-01-01 00:00:00 UTC | 1 | 0 | 1 |
From the project README
An excerpt from the repository, fetched Nov 13, 2026.
Read the project’s introduction
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.
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
@mdibernardo
mikedebo.ca
MichaelDiBernardo
Amy Brown
indie
editorial
amyrbrown.ca
@amyrbrown
amyrbrown
Allison Kaptur
Dropbox
byterun
@akaptur
akaptur
Audrey Tang
g0v.tw, Socialtext, Apple
spreadsheet
@audreyt
audreyt
Brandon Rhodes
Dropbox
contingent
@brandon_rhodes
brandon-rhodes
Carl Friedrich Bolz
King's College London
object model
cfbolz.de
@cfbolz
cfbolz
Cate Huston
Image Filter app
www.accidentallyincode.com/
@catehstn
catehstn
Christian Muise
University of Melbourne
flow-shop
@cjmuise
haz
Daniel Jackson
same-origin-policy
Daniel Rocco
BrightLink Technology
contingent
@drocco007
drocco007
Dann Toliver
Bento Box
dagoba
danntoliver.com
@dann
dxnn
Dessy Daskalov
Nudge Rewards
Pedometer
www.dessydaskalov.com
@dess_e
dessy
Dethe Elza
blockcode
dethe
Dustin Mitchell
Mozilla
cluster
djmitche
Erick Dransch
Modeller
@ErickDransch
EkkiD
Eunsuk Kang
same-origin-policy
Greg Wilson
web-server
@gvwilson
gvwilson
Guido van Rossum
Dropbox
crawler
@gvanrossum
gvanrossum
A. Jesse Jiryu Davis
MongoDB
crawler
@jessejiryudavis
ajdavis
Jessica Hamrick
University of California, Berkeley
sampler
www.jesshamrick.com
@jhamrick
jhamrick
Leah Hanson
Google
static analysis
@astrieanna
astrieanna
Leo Zovic
event-web-framework
Malini Das
Twitch
ci
malinidas.com
@malinidas
malini
Marina Samuel
Mozilla
ocr
www.marinasamuel.com
@emtwos
emtwo
Ned Batchelder
edX
templating engine
nedbatchelder.com
@nedbat
nedbat
Santiago Perez De Rosso
same-origin-policy
Taavi Burns
Previously at Points, now at PagerDuty
data-store
@jaaaarel
taavi
Yoav Rubin
Microsoft
In-memory functional database
@yoavrubin
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 Bussonni
Read the full README on GitHubWhat Hacker News says
9 sourcesThis is a collection of real world python projects written in 500 lines or less.
https://github.com/aosabook/500lines
The goal was to be a resource for intermediate python developers to be able to look at real world applications. Hope this helps.
In Free Python BooksI was hoping this would be great works in various programming languages, rather than about. A list of classics like the Architecture of Open Source Applications project http://aosabook.org/en/index.html to accompany the short stories in https://github.com/aosabook/500lines
In Great Works in Programming Languages (2004)https://github.com/aosabook/500lines and I'm looking forward to reading it too. :)
I'm tempted to link to my draft chapter, but though the code is essentially done the text needs a lot of work.
In C4 – C in 4 functionshttps://github.com/aosabook/500lines
This is a collection of real applications that are written in 500 lines or less. The goal is to teach python through real projects that are not too complicated to understand.
Hope this helps.
In Python Practice BookCreated an account to point out this gem by Guido himself that makes use of this and the fact that python variables are not scoped inside for loops:
https://github.com/aosabook/500lines/blob/master/crawler/cra...
In The optional “else” in Python loopsThe Early Preview of '500 Lines or Less' by AOSA: https://github.com/aosabook/500lines
In Ask HN: What's the best technical eBook you have read?AOSA: 500 Lines or Less (Early preview)
4 points · Open discussionhttps://github.com/aosabook/500lines
This is a repo of smaller real world applications that are 500 lines or less in length, so as not to be overwhelming to novice / intermediate programmers.
In Ask HN: How best to learn software design principles?Great series of books! There are three now, and a fourth is being worked on which is very relevant to this posts query. There isn't much too it yet, but its working title is 500 Lines or Less, and it aims to implement some manner of a working application in 500 lines or less. There is a GitHub repo [0] where the project is being coordinate.
[0] https://github.com/aosabook/500lines
In Ask HN: What source code is worth studying?