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

The other surprising thing is that two code reviewers also evidently missed the opportunity to re-write it properly using thread synchronization primitives. Rather they argued about what to pass to wait(), except you shouldn't be using wait() or sleep() here at all!


At least in 2025 they could slap it into Claude and produce a better review without engaging in…shudders *thought*.


Well the article was in 2009. Hopefully someone's taken them aside and explained synchronization objects to them by now.




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

Search: