I see the need for null in Java still, but since the Optional class was introduced I think some of the usages of null can be eliminated by employing some of the capabilities of the Optional class. I will explain in this post a nice way you can implement checking for null in Java by […]
Monthly Archives: April 2017
Common mistake when dealing with Reader in Java
I’ve encountered this one a few times and came across again recently and thought it relevant to deserve its own post, so here it is. If you have done any I/O in Java you likely came across the Reader class, unlike the InputStream class(es) which deal with bytes, the Reader makes the transition into reading […]
Disney and technology (or lack of!)
I finally decided was about time to go to Disneyland, with Los Angeles being so close and all that. Super excited about the whole thing, I downloaded the app, I did a bit of research (and decided to go to Disneyland and save California Adventures for another time) and set off to buy tickets. And I […]
Dependency overload … or laziness?
This is something that started bugging me back in the maven area — when I switched from the likes of Ant as a build tool, which was relying on the user being explicit about a lot of things and doing a lot of the grunt work for it, to the maven world. Now maven was […]