Completed
0:00 Intro
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Defensive Programming in JavaScript - Write Safer, Smarter Code
Automatically move to the next video in the Classroom when playback concludes
- 1 0:00 Intro
- 2 1:50 Theory Imperative vs. Declarative
- 3 3:20 1. Fail Fast
- 4 5:17 2. Check for Type
- 5 6:45 What about TypeScript?
- 6 8:19 3. Sanitize & Validate
- 7 9:57 4. Use Defaults
- 8 11:50 5.Guard Against Structure Change
- 9 13:35 6. Avoid Side Effects
- 10 15:55 7. Lock Down Your Precious
- 11 18:20 8. Use Timeouts
- 12 23:15 9. Wrap Dangerous Code
- 13 26:28 10. Enumerate The Expected
- 14 29:06 Summary and Outro