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

Records are structural types. Null restricted types are in draft: https://openjdk.org/jeps/8303099


Records in Java are nominal. In fact, it is syntax sugar for a class.




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

Search: