Completed
00:00 - The billion-dollar mistake and why nullness being implicit is problematic
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Stop NullPointerExceptions Before Production in Spring Boot 4 with Null Safety
Automatically move to the next video in the Classroom when playback concludes
- 1 00:00 - The billion-dollar mistake and why nullness being implicit is problematic
- 2 02:17 - Setting up Spring Boot 4.0 RC1 project with dependencies
- 3 04:35 - Building the User service with potential null returns
- 4 07:42 - Demonstrating the classic NullPointerException scenario
- 5 09:06 - Introduction to JSpecify's 4 annotations @NullMarked, @Nullable, @NonNull, @NullUnmarked
- 6 10:15 - Implementing package-level null safety with package-info.java
- 7 13:28 - Adding NullAway for compile-time null checking
- 8 16:42 - Working with nullable fields in Coffee class and records
- 9 18:35 - Handling nullable elements in collections Review Service example
- 10 20:47 - Arrays with nullable elements Menu Service implementation
- 11 22:15 - Why this matters: Building confidence like you do with tests