~/talk

The Trick to Writing Good Code Is 'Care About Errors' — What Errors Mean for Programmers

TalkinJapaneseat PHP Conference Japan 2023 · on Sunday, 2023-10-08· [career-development, php]
links:none on file
slides:none on file

Explains how treating PHP runtime errors, warnings, and notices as useful feedback reduces bugs by configuring error_reporting(E_ALL), reading and not ignoring messages, and converting loose warnings into explicit ValueError/TypeError handling. Recommends concrete practices: add type hints and strict checks, run static analysis and unit tests, and follow the PHP 7→8 trend toward tighter checks so code breaks less when upgrading.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Why languages throw errors
  3. 5:00Errors as friends
  4. 7:32PHP error severity
  5. 10:27Ambiguity in code
  6. 12:57Errors reveal ambiguity
  7. 14:26Case-by-case severity
  8. 17:14Why errors feel scary
  9. 19:00What errors teach
  10. 20:48Reading error messages
  11. 22:31PHP’s evolving error handling
  12. 25:45Strictness in modern PHP
  13. 26:28Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.