~/talk

Verbosity, Maybe the Key to Better Code

Talkat REFACTOR DX 2023 · 2023-07-12..07-13· [developer-experience]
links:none on file
slides:none on file

Argues that writing more explicit, duplicated code plus documentation leads to clearer, safer systems than premature DRY. Uses React and TypeScript with react-final-form and react-date-picker to build a “book meeting” form stretched across four product areas where three out of four steps differ, causing component bloat and painful debugging. Recommends separate parent components and a simple dumb form per area, document in Storybook docs, then consolidate when duplication appears duplicate-first, DRY-later.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:09Dry code principle explained
  3. 2:34Defining verbosity and conciseness
  4. 3:35Building the meeting form component
  5. 6:46Expanding product requirements
  6. 7:49Dry code leading to complexity
  7. 13:31Real-world component challenges
  8. 16:42Three common problems with dry code
  9. 18:06Business vs developer logic
  10. 20:35Problem with shared components
  11. 21:39Solution: Duplicate components
  12. 23:27Implementing separation of concerns
  13. 25:09Documenting components clearly
  14. 26:40Benefits of separation of concerns
  15. 27:01When to refactor to DRY code
  16. 27:42Q&A
~/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.