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

This won't be true in Java, though - in Java, you will have null Integers at least. It seems that int will remain a different thing entirely from Integer, and will remain a JVM-only concept.


But with null-restricted types, Integer! and int has no difference semantically and representation. They plan to introduce null-restricted types in future.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: