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

> It seems, though, that java's default modifier was maybe ill-chosen, as private and public modifiers seem far more prevalent than no modifier

My impression is that people often simply don't know exactly what the default modifier does, whereas they're more confident in the behaviour of public and private.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: