Posts By: Liv

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 […]

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 […]

Less Is More When It Comes To Advertising Too!

Posted by & filed under , , .

This is a perfect example of how to do advertising the wrong way — and it’s pretty much the reason why most people hate online adverts: when it becomes too aggressive, too in your face, too intrusive and too damn creepy, then of course, any user would want that s**t off the pages they are […]

about.me logo

App Idea — About.Me

Posted by & filed under , , , .

I have been using for a while the about.me website and their mobile app Intro by about.me. (I use an Android phone, and as such I am supplying here the link to the Google Play appstore, however I’m sure they have an iOS one too you’ll have to search in the App Store for it.) For […]

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 […]

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 […]

Java Map and Subtleties of getOrDefault vs computeIfAbsent

Posted by & filed under , .

I wrote recently about the new niceties in the Map interface that Java 8 brought to light where I’m highlighting in particular 2 new methods: getOrDefault and computeIfAbsent (see my previous post here about it). These provide a cleaner (and as it turns out faster too!) way of retrieving values from a Map instance. However, […]

Sic Transit Gloria Mundi…

Posted by & filed under , , , .

If you don’t know your Latin by the way, the above translates to “Thus passes the glory of the world” (see this wikipedia page too). More than 4 years ago I crossed the Atlantic from London, UK and based myself in California, with a small startup, Cognitive Match, that came out of London and expanded into […]

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 […]