|
|
|
|
|
by nayuki
138 days ago
|
|
> no-unsigned-integers [...] still bothers me I like the lack of unsigned integers in Java. It simplifies the language while only removing a tiny bit of functionality. You can emulate almost all unsigned math using signed operations, whether you use a wider bit width or even the same bit width. The only really tricky operations are unsigned division and unsigned parseInt()/toString(), which Java 8 added to smooth things over. https://www.nayuki.io/page/unsigned-int-considered-harmful-f... |
|