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

The distinction between String and int in Java is not explicit, certainly not to a beginner; maybe other classes are because you have to create them with new, but it's not obvious that string literals result in a different kind of thing with different rules than integer literals.

Regardless, none of that changes the fact that it's a bad design decision, because people regularly get it wrong.



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

Search: