Recent Posts

A switch on String idiom for Java

less than 1 minute read

I’ve always been frustrated with the inability to write a switch on String in Java. However the enum type introduced in Java 5.0 somewhat diminishes the iss...

A nice zsh prompt

1 minute read

Recently I switched to zsh, after being a bash user for almost 5 years. I was in love with everything in zsh from day one, except one thing – the default pro...