You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fortunately, Google, JetBrains, Facebook, Uber and others managed to agree on one annotation: JSpecify. I especially like @NullMarked which indicates that the all nullalbes places have explicitly marked - and all other places are non-null.
I suggest to switch from the JetBrains-focused Nullable annotations to the ones of JSpecify.
The text was updated successfully, but these errors were encountered:
As of JSpecify 0.3, it's now extremely unlikely there will be any compilation-breaking change to the four annotation interfaces (exception [NullMarked on methods]). We're not moving, renaming, or removing anything anymore. So once your tools recognize them at all, then switching probably couldn't hurt much.
I really like that the code has non-null annotations.
There is a long discussion about the "right" null annotation: https://stackoverflow.com/q/4963300/873282
Fortunately, Google, JetBrains, Facebook, Uber and others managed to agree on one annotation: JSpecify. I especially like
@NullMarked
which indicates that the all nullalbes places have explicitly marked - and all other places are non-null.I suggest to switch from the JetBrains-focused Nullable annotations to the ones of JSpecify.
The text was updated successfully, but these errors were encountered: