~/talk

Bugs?! Where do they come from?

slides:none on file

Claim: many bugs stem from overusing primitive types and missing domain invariants. Demonstrations use C#/.NET custom structs and classes — custom value types like Price, PercentageDiscount, Rating and ID — with explicit conversions and operator overloads to encode invariants so the compiler prevents swapping values and removes repeated runtime guards. Integration with ASP.NET model binding replaces duplicated checks, unit tests stay small, and the codebase shrinks. Empirical note: large apps rarely need more than ~100 such types. compiler-enforced invariants and ASP.NET model binding make it work.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07What are bugs
  3. 5:25Constraint checking
  4. 11:51Checking problems
  5. 13:38Types and values
  6. 16:55Custom types
  7. 21:36ID types
  8. 26:59DRY principle
  9. 32:39Type obsession
  10. 37:35Reducing bugs
~/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.