~/talk

Functional Patterns for the Object Oriented

Talkat Øredev 2018 · on Monday, 2018-11-19· [devops-and-delivery, testing]
slides:none on file

C# 7.0 adds tuples and pattern matching that let object‑oriented code adopt functional patterns, shown by implementing a CodeDOM‑style AST and preferring traversal functions over node printers to generate a .NET SDK. Haskell examples reimplement the same printers and a simplifier, and a quick check shrinking workflow generates random scripts, reduces 500‑line failures to tiny repros, uncovers a divide‑by‑zero and hundreds of crashes, and materially speeds debugging and quality fixes.

AI-written summary · about

  1. 0:00Intro
  2. 3:33Pattern Matching pre C# 7.0
  3. 5:44C# Generation at Qlik
  4. 7:55CodeDom
  5. 8:43Expression as a Graph
  6. 10:46Abstract Syntax in Haskell
  7. 12:25Printing
  8. 17:10QuickCheck: The Arbitrary Class
  9. 21:40Arbitrary Expression
  10. 22:57Computing Tree Depth
  11. 23:43Property of Simplification
  12. 25:19The Arbitrary Class: shrink
  13. 29:38API Testing Using Script Generator
  14. 31:49Random Test Generation in the Industry
  15. 34:25References
~/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.