1 min readMar 3, 2019
Nice one. Though for me val result = if (condition) 1 + 1 else 2 + 2
is still more readable. Don’t get all the fuss around the missing ternary operator. Guess it’s just a matter of taste.
Nice one. Though for me val result = if (condition) 1 + 1 else 2 + 2
is still more readable. Don’t get all the fuss around the missing ternary operator. Guess it’s just a matter of taste.
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
Searching for the answer to the Ultimate Question by night, tester by calling, serendipitously became a devops lead by day. Automating things I get my hands on.