4 things I want to see in Python 4.0
Anthony Shaw

Regarding “Ternary operators? Like ?? in C# 6.0”


string blah = testNull ?? “WhatEver”;

not the same as

blah = testNull or “WhatEver”


i actually like the expanded python syntax “1 if true else 0” because it is more readable

Like what you read? Give Florijan Hamzic a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.