4 ms·
Yeah I’m hoping Java takes the C# approach with a compile option that can enable that type of null safety.
by vips7L 5y ago
Yeah I’m hoping Java takes the C# approach with a compile option that can enable that type of null safety.
- pjmlp 5y agoThe C# approach will take decades for .NET shops to wrap their minds around it. 2021 was the first year I deploy anything related to .NET Core in production, and it was still .NET Core 3.1. Will this velocity no one is going to their .NET repos and rewrite the libraries with the required annotations to keep the compiler happy. If you want null safety in Java today, just make use of @Nullable, a good IDE with static analysis, and deploy PMD, FindBugs or SonarQube into the CI/CD pipeline.