~/talk

What were they thinking? Language design choices that seem wrong, until they don't.

Talkat NDC London 2017 · 2017-01-16..01-20· [javascript]
slides:none on file

C# makes specific tradeoffs: it enforces no fall-through in switch to keep refactoring safe and enable pattern-matching; it adds local functions avoid delegate allocation by emitting private methods so recursion is simple and allocations drop; it rejects XML literals to avoid binding the language to an external standard; using var preserves IQueryable composability (casting to IEnumerable causes full materialization and extra DB trips); partial classes let tests add interfaces to tool-generated DbContext for mocking.

AI-written summary · about

  1. 0:00Start
  2. 3:44case block is executed.
  3. 6:26definition of functions inside
  4. 13:02XML literals makes C#
  5. 16:33strongly typed.
  6. 24:32the same name
  7. 37:54resolution is simplified.
~/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.