Master AI & Data—50% Off Udacity (Code CC50)
Gain a Splash of New Skills - Coursera+ Annual Nearly 45% Off
Overview
Syllabus
00:00 - The billion-dollar mistake and why nullness being implicit is problematic
02:17 - Setting up Spring Boot 4.0 RC1 project with dependencies
04:35 - Building the User service with potential null returns
07:42 - Demonstrating the classic NullPointerException scenario
09:06 - Introduction to JSpecify's 4 annotations @NullMarked, @Nullable, @NonNull, @NullUnmarked
10:15 - Implementing package-level null safety with package-info.java
13:28 - Adding NullAway for compile-time null checking
16:42 - Working with nullable fields in Coffee class and records
18:35 - Handling nullable elements in collections Review Service example
20:47 - Arrays with nullable elements Menu Service implementation
22:15 - Why this matters: Building confidence like you do with tests
Taught by
Dan Vega