I was just writing some OCL expressions and suddenly I realized that the if-then-else command is sooooooo dated. Here´s a suggestion of a much hip, fresh and zeitgeistlich if-then-else:

if <<condition>> then cool else sucks.

So cool replaces boring true, and sucks replaces ancient false.

I am hoping the Java team implements this soon 🙂

Advertisements