Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Finally! I tried many other solutions/workarounds in the past years, like using the eclipse/intellij notnull annotations and the various efforts of projects like https://www.lastnpe.org/

I was wondering how "enforceable" these nullness check will be and how they will affect generics (will a "List!<String?>" be treated like a non-nullable list of nullable strings? and a List<String!> ? is the "unknown nullables" forwarded to the elements?)



Checkerframework does this well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: