Boiling down multi-line expressions into single line statements has been a trend in Comp-Sci for a while.
That
X = IsY ? Y : Z
format has been around for decades.
I generally prefer it to clunky if-statements
Boiling down multi-line expressions into single line statements has been a trend in Comp-Sci for a while.
That
X = IsY ? Y : Z
format has been around for decades.
I generally prefer it to clunky if-statements