/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

ashtonkemerling.com
| | pavan-kalyan.dev
1.8 parsecs away

Travel
| | [AI summary] This article explains how to use Java 8's Optional class to handle null values more effectively, reducing the risk of NullPointerExceptions and improving code clarity.
| | andreabergia.com
2.9 parsecs away

Travel
| | 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.
| | arturdryomov.dev
1.4 parsecs away

Travel
| | Checked and unchecked, recoverable and unrecoverable -what to pick?
| | in.relation.to
21.7 parsecs away

Travel
| Java 9 comes with a new feature very useful to library authors: multi-release JARs (JEP 238). A multi-release JAR (MR JAR) may contain multiple variants of one and the same class, each targeting a specific Java version. At runtime, the right variant of the class will be loaded automatically, depending on the Java version being used. This allows library authors to take advantage of new Java versions early on, while keeping compatibility with older versions at the same time. If for instance your library pe...