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

It's a bold stance, at least. From my experience, it's idiomatic Java and just one of those things you have to do.

In practice, it's useful because it allows more easily for instrumentation later on. And you can easily throw a "synchronized" on the method if necessary.



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: