logoalt Hacker News

retrodaredevilyesterday at 4:22 PM1 replyview on HN

NullAway with JSpecify annotations are a really good way to add null safety to Java applications. Even enforces nullability at the generic level.


Replies

rendawyesterday at 4:44 PM

The elephant in the room is the standard library (collections). It isn't even type safe yet, because some methods were around before generics were added. And collections are too core for anyone to be able to agree on a 3rd party standard.