~/talk

Handling a Complex Domain with Readable Code

Talkat fsharpConf 2023 · on Monday, 2023-06-26· [software-architecture]
links:none on file
slides:none on file

Property tax software for Norway (used across ~300 municipalities and developed for 4–5 years) models complex rules with F# and event sourcing, using discriminated unions and units of measure to prevent type mistakes, computation expressions and active patterns to keep validation and branching readable, and bilingual identifiers (Norwegian domain terms) to let domain experts review code directly. The system produces notifications, tax calculations and reports, stays extensible for new regulations, and reduces cognitive load when debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Outline
  3. 3:08About Norcat
  4. 4:05Property Taxes
  5. 5:25Data Sources
  6. 6:38Example
  7. 7:28Output
  8. 8:09Complexity
  9. 10:23How are you using fsharp
  10. 11:36Readability
  11. 13:20Coding in Norwegian
  12. 15:20Cancelout function
  13. 18:05Expressions
  14. 19:11System Data Import
  15. 20:39Passing Functions
  16. 22:18Conclusion
  17. 23:20Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.