Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mrkeen
67 days ago
|
parent
|
context
|
favorite
| on:
Rating 26 years of Java changes
Fail to compile when you assign something which isn't an integer to an integer.
michaelcampbell
67 days ago
[–]
None of that code does that; the "issue" is with `==` between an int and an Integer. I'd accept a failure to compile _that_, but that does kind of kill the utility of the 99.9% of times where auto-boxing and unboxing is syntactically simpler.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: