Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jpollock
1 day ago
|
parent
|
context
|
favorite
| on:
Laws of Software Engineering
You are communicating with future readers of the code. The presence of ConcurrentHashMap will lead future engineers into believing the code is threadsafe. This isn't true, and believing it is dangerous.
help
tombert
1 day ago
[–]
No, they'll believe that that specific map is thread safe.
reply
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: