About Robert Möstl

Picture of Robert Möstl

My name is Robert Möstl, I'm from Styria (Austria) and since 2016 I run a solo business called Scaling Curve.

My service offering is twofold: (i) offer design, advice and implementation help around web-based dashboards and (ii) maintaining as well as developing further existing web applications.

Take a look at my professional portfolio over at Scaling Curve.

For a collection of personal side projects take a look at tools.

How to say hello?

moestl dot robert [are you a spammer?] gmail dot com or on Twitter @rmoestl.

What are yoda conditions?

A yoda condition is a programming expression in which the elements are interchanged compared to their more intuitive, natural order. For example if (5 == count) instead of if (count == 5). It's like when Yoda would say "if strong is the force" instead of "if the force is strong".

I first came across this term in Jeff Atwood's blog post New Programming Jargon. Yoda conditions can be pretty useful. For example, I like to use if ("".equals(str)) to avoid a NullPointerException in Java in case str is null.