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.

Z Garbage Collector: What you should know

The Z Garbage Collector (ZGC) is a scalable low latency garbage collector. It designed to handle large heaps with minimal pause times. According to the official documentation, ZGC performs all expensive work concurrently, without stopping the execution of application threads for more than 10ms, which makes is suitable for applications which require low latency and/or use a very large heap up to terabytes.

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.
123 ... 4