/explore
|
You are here |
adambennett.dev | ||
| | | | |
arturdryomov.dev
Checked and unchecked, recoverable and unrecoverable -what to pick? |
|
| | | | | ||
| | | | |
andreabergia.com
Error handling is a fundamental aspect of programming. Unless you are writing hello world, you will need to handle errors in your code. In this post, I will discuss a bit the most common approaches used by various programming languages. Return error codes This is one of the most ancient strategies - if a function can fail, it can simply return an error code - often a negative number, or null. |
|
| | | | | ||
| | | | |
phauer.com
Drawbacks of exceptions and how Kotlin's sealed classes can make our code less error-prone, more readable, predictable and traceable. |
|
| | | | | ||
| | | | |
blog.nndi.cloud
In this short guide you are going to see how to write to multiple files at-once in Java. The technique you will see here will allow you to write the same data to multiple output streams in one go, which will keep your code shorter, readable and safer from errors that can come through copy-and-pasting. The rationale First of all, why would you want to write to multiple output streams at once? |
|
| | | |||