1. Home
  2. /
  3. Technology

Technology

What is happening across technology? Check out these carefully chosen highlights from PANDARON.COM

Editor's picks

Convert String to Date: The Java Ways

Converting strings to dates in programming is a common task that's more complex than it seems. This challenge is rooted in the wide range of date formats and the specifics of time zones. Converting a String to a Date in Java can be done in several ways, depending on the Java version you're using and whether you are incorporating external libraries. Below are the primary methods used in different versions of Java and through some commonly used external libraries.

How Senior Software Engineers Handle NullPointer Exceptions

In software development, encountering a NullPointerException (NPE) is a common issue, often arising from attempting to use an object reference that hasn't been initialized. Our goal is to find ways to handle potential nulls in a more controlled or graceful manner. This article shares some best practices to proactively avoid or manage NPEs more effectively.

Foreign-memory access API: Performance off the heap

The Foreign-Memory Access API, introduced in Java 14+, significantly improves how developers work with memory outside the Java heap, offering a better alternative to the complex and error-prone Java Native Interface (JNI).

Java Record - No more boilerplate codes, in the Java way

Java introduced the Record keyword in JDK 14, simplifying how developers handle immutable data. This feature reduces the need to write boilerplate code in data carrier classes. This feature is commonly believed not just a mere addition, but more of a paradigm shift in how we handle immutable data in

Helpful NullPointerExceptions Information, from the JDK

It's a new feature that provides more informative detail messages for NullPointerExceptions, which can help developers identify the cause of the exception and fix the bug. It was introduced as a JVM option in Java 14 and became the default behavior in Java 15.

Introduction to the new Vector API

The Vector API in Java, first introduced as an incubator module in Java 16, through Java 21, represents a pivotal enhancement aimed at optimizing the performance of computation-intensive operations through the utilization of SIMD instructions.
123 ... 4