java code

Java … FunctionalInterface … WTF?

Posted by & filed under , .

If you’ve been doing “stuff” with Java 8 for a while I’m sure you’ve stepped into lambdas territory and the joys of succinct code it allows to be written. And if you are like me you probably found yourself using lambda’s everywhere you are confronted with a single-method interface. Which is allowed. In fact it’s […]

duke-open

Why You Should Use Default Methods in Java 8 Interfaces

Posted by & filed under , .

With Java 8, Oracle introduced the concept of “default methods” in interfaces (and if you really haven’t heard of this — wtf?? — you can read more here about it: https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html). This argue some is a step towards multiple inheritance and as such should be banished from the oh, so pure! Java language. Others point out […]

London Underground

Liv’s Guide to London

Posted by & filed under , , .

I was asked recently by a couple of friends on this side of the Atlantic about suggestions regarding London — as they were planning their London trip. I put together an email with basic pointers and sent it to my first friend. Shortly after it turns out another one decides he wants to visit Blighty and […]

brexit

My Thoughts on Brexit

Posted by & filed under , , .

I have been following closely the Brexit referendum in the UK — I’m sure it comes as no surprise to those of you who know me. Because I am Romanian. And I am British. And I live in USA. And I care! I have followed the news online and listening to the likes of LBC […]

DukeTubbingSmall

Java 8 — Map and the Unknown “Niceties”

Posted by & filed under , .

Despite Java 9 making its way into the real world nowadays, I see a lot of Java code out there still relying on the old-style Java 6-like syntax. And I’m not talking about the usage of lambda’s, stream’s and the likes, but rather some of the improvements Java 8 brought to existing classes in the […]