~/talk

Abusing C# More

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [dotnet]
slides:none on file

Shows concrete C# tricks and the exact surprises they cause: embedding the Mongolian Vowel Separator inside identifiers to hide tokens (compilers differ by Unicode version), using nameof with dynamic to produce arbitrary literal text, casting lambdas/local functions inside interpolated strings, and a FormattableString-based SQL builder that generates SqlCommand plus parameters by using IFormattable.ToString to set DbType — the SQL approach compiles and runs. Benchmarks run a billion iterations and drop a 12s loop to ~2s by avoiding readonly-copy costs on large structs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:45Mongolian vowel separator
  3. 6:15Unicode
  4. 10:21Strings
  5. 14:17Deconstruction
  6. 17:08Format
  7. 20:54lambda expressions
  8. 25:51lazy evaluation
  9. 34:54formattable string
  10. 37:09sequel parameters
  11. 38:09format string
  12. 39:59run code
  13. 41:59performance
  14. 43:39performance test
  15. 45:19tempbitszero
  16. 46:09readonly
  17. 47:09mutate
  18. 49:04readwrite
  19. 49:19readonly fields
  20. 51:14config
  21. 51:29var
  22. 52:19scroll
  23. 52:59consoledot
  24. 53:39implicit conversion
  25. 53:59integer conversion
  26. 54:24overload
  27. 57:54Null Conditional Operator
~/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.