Coding Horrors - A Horror Film Fan's Guide to PHP Coding Nightmares
summary
Covers concrete PHP mistakes and fixes: storing dates as varchar dates in DMY that break range queries (use DATE/DATETIME types), N+1 database loops and slow joins (replace with JOINs or GROUP_CONCAT carefully), misusing prepared statement bindings for table/column names, dead/commented code and unused parameters, comma‑separated follower lists instead of normalized relations, mysterious octal bugs from leading zeros, huge constructors, careless error suppression with @ and how Scream plus exceptions expose and fix it, and an instance of 21 duplicate functions reduced to one.
AI-written summary · about
chapters (12)
- 0:00Intro
- 1:40Coding Horrors - Friday the 13th
- 12:30Coding Horrors - Night of the Living Dead
- 18:03Coding Horrors - The Ring (US Remake)
- 19:48Coding Horrors - Chain Letter
- 25:15Coding Horrors - The Mummy Returns
- 27:45Coding Horrors - Halloween
- 31:59Coding Horrors - Alien
- 34:45Coding Horrors - Se7en
- 37:25Coding Horrors - Pan's Labyrinth
- 39:31Coding Horrors - Scream
- 42:49Coding Horrors - Dawn of the Dead
related talks
51mGetting yourself out of trouble with anti-patterns
33mCode Archaeology: Becoming Indiana Jones
39mSeveral years of SOLID-aware development
59mCode?
15mThe Uncomfortable Truth of Bad Code
50mCracking the Code to Secure Software
39mOf representation and interpretation: A unified theory
40mBackwards Incompatible Tales
