RefDiff - A tool to compare different versions of Java source code to find refactoring changes between them... (more…)
Read more »
Java 12 introduces switch expressions. Together with a new lambda-style arrow syntax, this makes switch more expressive and less error-prone. (more…)
Read more »
We know that variables are used to store data in a Java program. We also know that each variable can store not more than one data item. So, what do we do if we need to store a large number of data items, say 50. Well, we can use 50 variables, one for each... (more…)
Read more »
It shows which line caused the exception, but which method call? Not that helpful. (more…)
Read more »
I will admit this post was inspired by How would you write factorial(n) in java? So excuse me while I rant in code: I have a point to make at the bottom of this article. Now most people who write f… (more…)
Read more »