~/talk

Learn 'em Dafny

Talkat Dafny 2024 · on Sunday, 2024-01-14· [developer-experience]
links:none on file
slides:none on file

A programming‑first software correctness course uses Dafny with a flipped classroom and automated, proof‑based feedback for about 120 required students, showing measurably better course evaluations. Concrete points: Dafny verifies methods by contract but functions by implementation, expression versus statement syntax forces confusing refactors (semicolon, var versus const/ghost), module‑level mutability rules trip students, and version 4.0’s ghost fixes reduce some friction. The talk gives specific classroom practices and precise language changes that shorten the learning curve.

AI-written summary · about

  1. 0:00Teaching with Dafny
  2. 1:26Course design challenges
  3. 3:33Programming-first approach
  4. 5:38Flipped classroom benefits
  5. 7:28Design by contract
  6. 8:52Methods vs functions
  7. 10:15Syntax and semantics
  8. 12:42States, predicates, monads
  9. 14:50Semicolons confusion
  10. 16:59Dafny 4.0 improvements
  11. 18:01Conceptual models
~/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.