~/talk

Functional GUI Apps

links:none on file
slides:none on file

A small drawing app implemented in F# that models shapes as immutable records and performs all CRUD by returning rewritten document graphs rather than mutating objects. Updates go through one document controller that keeps a single mutable pointer and a history of snapshots so undo/redo is just moving a head through that history like built in git style versioning. Elements are referenced by IDs not pointers so background save and open are atomic and long running transforms become transactional background updates reducing event-driven memory leaks.

AI-written summary · about

  1. 0:00Intro
  2. 1:28Simple Domain
  3. 2:11Moar Features!
  4. 2:31Common Properties
  5. 2:52Document Model
  6. 3:18CRUD Operations
  7. 3:51New Document
  8. 7:22Remove Elements
  9. 8:03Map the Document
  10. 9:25Change the Color
  11. 12:35Answer
  12. 13:48OOP Name Editor
  13. 15:14Functional Name Editor
  14. 16:48DocumentController
  15. 18:01Five Reasons
  16. 18:18Document-based App Requirements
  17. 19:20OOP Undo Architecture
  18. 19:40OOP Undo view. TextChanged += (s, e) = model. Name = view. Text
  19. 20:14For every command you write, you have to write its inverse
  20. 22:20Atomic Save
  21. 22:57Background Open
  22. 23:21Background Updates
  23. 24:18No Dangling References
  24. 25:34For This...
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.