A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
  • Newsletters

bug

A collection of 2 posts
A sorting bug
Java

A sorting bug

Lately, I succumbed to nostalgia, and agreed to do some consulting for a customer. The job was to audit the internal quality of an application, and finally to make recommandations to improve the code base and reimburse the technical debt. While parsing the source code, I couldn’t help but notice a bug in the implementation of a Comparator. This post is to understand how sorting works in Java, what is a Comparator, and how to prevent fellow developers to fall into the same trap.

Jul 26, 2020
Connection is a leaky abstraction
Java

Connection is a leaky abstraction

As junior Java developers, we learn very early in our career about the JDBC API. We learn it’s a very important abstraction because it allows to change the underlying database in a transparent manner.

Apr 26, 2015
A Java geek © 2008-2026
v. 8469dfb85e650fbf59112dd9359084a0b8fa2f6b/13500437904
Latest Posts