|
|
|
|
|
by hashmash
339 days ago
|
|
I guess it depends on what "just fine" means. What happens when a conversion is applied? Is there silent data corruption (C), or is there an exception (Ada, D) or perhaps a panic (Rust, Zig)? Is the behavior dependent on compiler flags? Keeping unsigned integer types out of the language makes things much simpler, and keeping things simple was an original design goal of Java. |
|