|
|
|
|
|
by jeroenhd
26 days ago
|
|
> // dunno panic This is exactly why Java is such a pain to work with. Somehow, Java developers all decided to stop dealing with error conditions and just crash the stack whenever something weird happens. The way Java developers seem to work these days has a lot in common with Rust beginners that just `?` or `.unwrap()` every single fallible method. Random crashes ("RuntimeException") are acceptable, so nobody even bothers doing error handling any more. Even the base SDK doesn't really bother with handling exceptions (i.e. the story with streams + exceptions). It's an excellent language feature tainted by a combination of bad choices twenty years ago and a weird culture shift in error handling. |
|