@jroid8 to Programmer [email protected] • 11 months agoknow the features of your languageimagemessage-square144arrow-up1647arrow-down123
arrow-up1624arrow-down1imageknow the features of your language@jroid8 to Programmer [email protected] • 11 months agomessage-square144
minus-square@[email protected]linkfedilink21•11 months agoIn C# that last one is the null propagation operator. If a is not null then a, else b.
minus-square@ABC123itsEASYlink7•11 months agoAh interesting one of those cases where this could be one of a few languages. I was reading it as JS.
minus-square@[email protected]linkfedilink3•11 months agoI thought it was TS/JS too, but the way those braces are below the if statements makes it feel more like C#.
In C# that last one is the null propagation operator. If a is not null then a, else b.
Ah interesting one of those cases where this could be one of a few languages. I was reading it as JS.
I thought it was TS/JS too, but the way those braces are below the if statements makes it feel more like C#.
K&R for life