Core Java
-
Why Declarative Coding Makes You a Better Programmer
Declarative solutions with functional composition provide superior code metrics over legacy imperative code in many cases. Read this article and…
Read More » -
java.lang.Record: Draft Specification
Work on proposed Java Records continues to proceed. Brian Goetz started three new threads on the OpenJDK amber-spec-experts mailing list…
Read More » -
Draft JEP to Remove Deprecated CMS Garbage Collector
In the 10 April 2017 post “Java Garbage Collectors: When Will G1GC Force CMS Out?,” I discussed JEP 291 (“Deprecate…
Read More » -
Checking What’s Thrown in Java Tests
Someone came up with the idea of using try and catch blocks in unit tests in Java: 1 2 3…
Read More » -
The Chameleon Function
In Doctor Who the character Kamelion was a robot which could take any form. The physical prop they used was…
Read More » -
The Final Word on “final”
In Java, overuse of final feels like SHOUTING. It’s outdated and inappropriate much of the time. Java and JavaScript This…
Read More » -
JVM with no garbage collection
JVM community keeps on adding new GC and recently new one was added and it is called Epsilon and is very…
Read More » -
Need driven software development using Mocks
Excellent paper on mocking framework by jmock author. This paper was written in 2004 that is 18 years ago but…
Read More » -
Adapter Design Pattern In Java
The Adapter design pattern is a structural design pattern that helps us to connect to the legacy or third-party code that exposes a similar…
Read More »