News Ticker

Java 8

PowerMock and Java8 Streams

October 2, 2016 // 0 Comments

Recently I was writing some units tests, as all good developers should, and ran into an issue with a test that made use of the IntStream of(int t) method. The test execution [...]

Switch Statements

January 20, 2015 // 0 Comments

Contrary to if-then-else statements, a switch statement can have numerous possible paths of execution. Switches work on primitive data types such as integer as well as [...]

Clean Code: Variables

December 12, 2013 // 0 Comments

We know how the code we write works, we understand it, we don’t need comments, it’s obvious, of course, we wrote it. This is what we all think and its true – well [...]