3 ms·
i don’t think it will be that bad. we have a standard in our projects today that all java variables in code we own are not null. if you would like to have a nul
by foolfoolz 2y ago
i don’t think it will be that bad. we have a standard in our projects today that all java variables in code we own are not null. if you would like to have a nullable variable, you must annotate it with @Null
this is only an issue at the boundaries of our code where we interact with libraries. i imagine that will be the case with this new syntax as well
- jayd16 2y agoIf I understand you, then you're not getting any compiler check support for misuses, correct?
- lolinder 2y agoI have to assume they have a lint rule for that. With good tooling compiler error vs lint error is a distinction that matters about as much in practice as parse error vs type error—your editor and CI pipelines will yell at you either way.