Scroll to open
Version one to version two
Version one was built in a weekend and lasted eleven months, which is longer than anything else here. Version two took three weeks and exists because of one screen that had quietly become unexplainable.


1 / 2
typescript
if (showArchived && !showDrafts && sortBy === 'date' && !groupByTag) { ... }
type View = { archived: boolean; drafts: boolean; sort: Sort; group: Group | null }
Lines removed
2140
Lines added
610
Features lost in the move
0
Weeks
3
What the rewrite was actually for
Nothing on the outside changed. No user asked for this and no user noticed it, which is the honest summary. What changed is that I can now answer a question about that screen in under a minute instead of opening four files and guessing. That was worth three weeks to me and would be worth nothing to somebody shipping this for a client.
