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

Is there a legitimate scenario for equals method or its counterparts to be defined on anything but final (sealed in C#) classes, that only have immutable fields?


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: