2.9 KiB
id, area, level, title, claim, confidence, period, tech, metrics, artefacts, public, last_verified, tags
| id | area | level | title | claim | confidence | period | tech | metrics | artefacts | public | last_verified | tags | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| history-code-exhibits | history | 3 | Artefact — Six code exhibits across five eras | Six short excerpts spanning object-oriented ActionScript · a hand-written JavaScript animation engine · a PHP media pipeline · typed TypeScript · embedded C++ · and declarative Nix. | historic | 2006–2026 |
|
|
|
true | 2026-10-28 |
|
Status: published. This page shows the ActionScript class and indexes the other five, each of which is exhibited on the page where it belongs.
The six
| # | Era | Exhibit | Where it is shown |
|---|---|---|---|
| 1 | Object-oriented ActionScript | 01-actionscript-class.as — class, imports, encapsulation |
this page |
| 2 | Hand-written JavaScript engine | 02-js-easing-core.js — easing functions and the timeline loop |
the site builder |
| 3 | PHP media pipeline | 03-php-encode-op.php — one GIF encode operation and its FFmpeg commands |
the site builder |
| 4 | TypeScript | 04-typescript-service-layer.ts — a typed tRPC boundary |
the estate |
| 5 | Embedded C++ | 05-embedded-cpp-interface.hpp — interface split from implementation |
the edge fleet |
| 6 | Declarative infrastructure | 06-nix-derivation.nix — pinned version, verified hash, exit condition |
the Nix package |
Total is 243 lines across twenty years, which is the point: each excerpt is chosen to show judgement rather than volume.
Why this exhibit is good code
Every field is private and explicitly typed, and the public surface is two methods, so a caller cannot push the object into a state it does not understand. The constructor takes what it needs as parameters instead of reaching for it, which is why the same class can drive every siren on the screen without knowing where any of them are.
Limits stated on the page
The excerpt is verbatim, including a latent typo (this.high rather than this.height). It is left as found: the excerpt is evidence, not a portfolio piece.
What it proves
That the stack changed six times and the discipline did not. Exhibit 6 is the least common of the six and the most current — a short, correct, self-documenting derivation with an exit plan is a stronger infrastructure signal than a long configuration file.
When it is delivered
Published. The six files are in this repository under content/assets/code/; the archive path is withheld. The other five are linked above from the pages that carry their claims.