Preventing Null Pointer Exceptions at Compile Time

Preventing Null Pointer Exceptions at Compile Time

Devoxx via YouTube Direct link

Intro

1 of 19

1 of 19

Intro

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Preventing Null Pointer Exceptions at Compile Time

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Java's type system is too weak
  3. 3 Specification 1: non-null parameter
  4. 4 Specification 2: nullable parameter
  5. 5 Solution: Pluggable Type Checking
  6. 6 Optional Type Checking
  7. 7 The Checker Framework
  8. 8 Benefits of type systems
  9. 9 Comparison: other nullness tools
  10. 10 Java 8 extends annotation syntax
  11. 11 Java 6 & 7 compatibility (or avoid dependency on Checker Framework)
  12. 12 Lazy initialization and persistence across side effects
  13. 13 Map key example
  14. 14 Optional checks
  15. 15 Cost of software failures
  16. 16 Example: Regex Checker
  17. 17 Example type systems
  18. 18 Tips for pluggable type-checking
  19. 19 Pluggable type-checking improves code

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.