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

Java 17 adds records, which are a more blunt tool than using const on method, you have to choose if a class is mutable or not, and not if a method is mutable or not.

For microservices, where you deals with data, it's quite effective because it works like typed JSON.



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

Search: