Devraj Singh·Mar 15, 2025How to design a thread safe class in Java.Tips about how to design a thread-safe class in JavaA response icon14A response icon14
Devraj Singh·Jul 17, 2023Java best practice: When to use Record over Class and vice-versaRecently, I got comments in my pull request to convert a given Class into Record. Then I pondered when we should be using Record instead of…A response icon2A response icon2
Devraj Singh·Aug 12, 2021Writing good and performant SQL queriesWhen the amount of data in the database is small, it doesn’t matter much (in terms of performance) how you write your SQL query and hence…
Devraj Singh·Jan 31, 2021Why Go compiles so fastGo is one of the fastest compiling programming languages out there. It compiles faster than most of the programming languages, like C/C++…