~/talk

Become a parameter ninja

links:none on file
slides:none on file

Concrete rules for parameter design and real examples: use sensible defaults and aliases, accept names/IDs/objects and convert them, avoid Boolean flags, and watch type conversions (dates differ between get-date and functions because of local vs invariant culture). Shows an implemented argument completer and a Transformer for printers and path shortcuts that mostly works, warns that dynamic parameters caused about 100 server calls and a ~20s delay, and demonstrates enums and custom validators that give user-friendly errors.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Why parameter design matters
  3. 2:30Parameter naming rules
  4. 4:53Avoiding parameter type pitfalls
  5. 7:18Handling null and empty values
  6. 11:36Defaults and mandatory parameters
  7. 13:00Avoiding Boolean parameters
  8. 16:12Validation rules
  9. 21:45Using enums
  10. 23:12Argument completers
  11. 28:42Parameter sets
  12. 36:58Dynamic parameters caution
  13. 40:32Embedded completers explained
  14. 42:20PowerShell classes
  15. 45:33Transformers
  16. 50:20Custom validators
  17. 51:43Summary
~/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.