Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
LoganDark
3y ago
0 comments
Share
Java lacks a distinct uint type, but (since Java 8) allows you to perform unsigned operations on a regular int, effectively treating it as a uint.
It doesn't help that almost nobody knows this, though.
0 comments
default
newest
oldest
morelisp
3y ago
At the point where you're writing `>>>` to, ironically, do proper arithmetic - you should probably write a correct version without a shift instead.
j
/
k
navigate · click thread line to collapse