Core Java
-
The 10 Most Annoying Things Coming Back to Java After Some Days of Scala
So, I’m experimenting with Scala because I want to write a parser, and the Scala Parsers API seems like a…
Read More » -
Why I distrust wildcards and why we need them anyway
In any programming language that combines subtype polymorphism (object orientation) with parametric polymorphism (generics), the question ofvariance arises. Suppose I have…
Read More » -
Testing code for excessively large inputs
When writing unit tests we mostly focus on business correctness. We do our best to exercise happy path and all…
Read More » -
How to Load Resources from Classpath in Java with Example
Classpath in Java is not only used to load .class files, but also can be used to load resources e.g.…
Read More » -
The lepidopterist’s curse: Playing with java.time
Pop quiz: What will be the output of this little program? …
Read More » -
Java private, protected, public and default
You are a Java programmer, so you know what I am talking about. public modifiers make a method or field…
Read More » -
Avoiding Null Checks In Java
One of the worst nightmares for java developers ( from junior to experts ) is null object reference checking. I’m…
Read More » -
Avoiding Many If Blocks For Validation Checking
There are cases that we want to validate input data before we send them to business logic layer for processing, computations…
Read More » -
Keyword extraction and similarity calculation among textual content
Background Web applications are becoming smarter. Gone are the days when to avail a service from a website, user had…
Read More »