HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
audreyt
500lines
JavaScript2014–2014
audreyt / 500lines

500lines

500 Lines or Less

2Distinct people
8Mentions
0Explicit recommenders
468GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

500 Lines or Less

GitHub

Where it is used

No documented product use has been verified yet.

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 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by week8 dated mentions

Observed mentions: 2014-07-07 06:35:50 UTC to 2014-09-12 02:44:40 UTC. Weeks start Monday, UTC.

02462014-07-07 00:00:00 UTC to 2014-07-14 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 commentsJul 72014-07-14 00:00:00 UTC to 2014-07-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-07-21 00:00:00 UTC to 2014-07-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-07-28 00:00:00 UTC to 2014-08-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-08-04 00:00:00 UTC to 2014-08-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsAug 42014-08-11 00:00:00 UTC to 2014-08-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-08-18 00:00:00 UTC to 2014-08-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-08-25 00:00:00 UTC to 2014-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-09-01 00:00:00 UTC to 2014-09-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-09-08 00:00:00 UTC to 2014-09-15 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 8

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jul 72014-07-07 00:00:00 UTC2014-07-14 00:00:00 UTC716
Jul 142014-07-14 00:00:00 UTC2014-07-21 00:00:00 UTC000
Jul 212014-07-21 00:00:00 UTC2014-07-28 00:00:00 UTC000
Jul 282014-07-28 00:00:00 UTC2014-08-04 00:00:00 UTC000
Aug 42014-08-04 00:00:00 UTC2014-08-11 00:00:00 UTC000
Aug 112014-08-11 00:00:00 UTC2014-08-18 00:00:00 UTC000
Aug 182014-08-18 00:00:00 UTC2014-08-25 00:00:00 UTC000
Aug 252014-08-25 00:00:00 UTC2014-09-01 00:00:00 UTC000
Sep 12014-09-01 00:00:00 UTC2014-09-08 00:00:00 UTC000
Sep 82014-09-08 00:00:00 UTC2014-09-15 00:00:00 UTC101

What Hacker News says

8 sources
Comparing the ES5-DOM-only version: https://github.com/audreyt/500lines/tree/master/spreadsheet/... with with the AngularJS-with-ES5 version: https://github.com/audreyt/500lines/tree/master/spreadsheet/... would illustrate the issue of separation of concerns. The DOM-only version had to construct its own view in JS, and use an additional #_A1 encoding to fill in calculated values into display, while the AngularJS version is declarative in that regard.
In Show HN: Web Spreadsheet in 99 lines
Hi, thanks for the feedback! Sorry if it comes across as bragging; the line count is kept minimal both to reduce reader's cognitive burden, and make inline commentary feasible. Technically, Web Worker is not a library, and Traceur is used to translate ES6 to ES5 while browser support catches on, so AngularJS is the only library used. The non-Traceur ES5 version at https://github.com/audreyt/500lines/tree/master/spreadsheet/... has exactly the same line count, but with more idiomatic workarounds that's less clear to students new to web development (the audience of this book). It is possible to replace AngularJS (the only external library) with regular blur/focus/change handler as @xem shows — without affecting the line counts — but the separation of concerns between view, logic and worker would be less clear.
In Show HN: Web Spreadsheet in 99 lines
Thanks! The aim for the chapter is indeed to show how ES6 and AngularJS simplify a typical web application like this. The version at https://github.com/audreyt/500lines/tree/master/spreadsheet/... has exactly the same line count, but with more idiomatic workarounds that's less clear to students new to web development (the audience of this book). It is possible to replace AngularJS (the only external library) with regular blur/focus/change handler as @xem shows — without affecting the line counts — but the separation of concerns between view, logic and worker would be less clear.
In Show HN: Web Spreadsheet in 99 lines

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.