Here’s how to remove items from a List in Java. If you have any questions, leave a comment or ask me on my social media.
Here’s how to schedule a task to run periodically in Java. If you have any questions, leave a comment or ask me on my social media.
Here’s how to format a LocalDateTime object. If you have any questions, leave a comment or ask me on my social media.
Here’s how to generate a random number within a specific range in Java. If you have any questions, leave a comment or ask me on my social media.
There are a couple of operators that simplify how the developer writes code. But some of them aren’t trivial to read.
Two of these are the prefix (++i) and the postfix (i++) operators.
A few days ago I did a post on LinkedIn talking about the Optional class. One comment was an excellent question: Could the use of Optional lead to performance degradation?
The answer is: Yes, it can. But should you worry?
If you usually need to rewrite or copy similar code between different projects, it may be time to stop replicating it and create a library.
To use your library in different projects, you have to publish it on a repository like Maven Central Repository.
When you have more people using your Java APIs, your projects grow and naturally you become a better engineer. You become more likely to increase your incomes and join great new projects. It also enables people to get their jobs done faster. So it’s a win-win situation.
Java Engineers can adopt several strategies to stay up-to-date with technology. One of the most natural ones is by developing frameworks and libraries. By doing that, they often find themselves in one of these two situations: Any significant change in their code would break their… Read More »3 principles to apply in your Java APIs and stay up-to-date with technology
In software development, writing test code is just as important as writing the application code itself. An application without tests will quickly turn into a nightmare for the maintainers because every change needed, no matter how harmless it may seem, something may stop working as… Read More »Creating Testable Applications with MicroProfile and CDI