About Data Comparison in Java

Posted by & filed under , , .

If you have been involved in some coding (Java or otherwise) more than likely at some point you had to deal with the situation where you have to compare some data — for the purpose of sorting items in a list, of validating input, or many of the many other situations that require it. And […]

computer code

Arrays in Java

Posted by & filed under , , , .

I seem to be on a roll today so I thought I’d mention this little tip that I have come across in the past when using arrays — more specifically bi-dimensional arrays. We think of such arrays (in Java and other languages as well!) quite often as a bit of a Scrabble board where we […]

Thread Pools in Java

Posted by & filed under , , , .

On the subject of Java code optimisation: I’m sure we’re all familiar with the concept of thread pooling — typically used together with the Executor framework. Configuring your thread pools can be tricky: choose a small value and you’re not making usage of your server power, on the other hand, choose a value large enough […]

Java StringBuilder

Posted by & filed under , , , .

This is something that I have seen quite a few times while looking online at other people’s code so I thought I’d write about it quickly — preach the world and all that 🙂 I’m referring here to the JDK class StringBuilder, however, those of you who know your JDK classes would surely have figured […]

An Ode to Liv

Posted by & filed under .

Here’s an ode to me from a 7 year old : There was once a bloke in I.T. Who snores every night guaranteed With his mouth open wide And cheeks puffed to the side We call him Alvin the chipmonk don’t we? Brilliant! 🙂