@jroid8@lemmy.world to Programmer Humor@lemmy.ml • 1 year agoknow the features of your languagelemmy.worldimagemessage-square145fedilinkarrow-up1646arrow-down124
arrow-up1622arrow-down1imageknow the features of your languagelemmy.world@jroid8@lemmy.world to Programmer Humor@lemmy.ml • 1 year agomessage-square145fedilink
minus-square@Ebberlink21•1 year agoIn C# that last one is the null propagation operator. If a is not null then a, else b.
minus-square@ABC123itsEASY@lemmy.worldlinkfedilink7•1 year agoAh interesting one of those cases where this could be one of a few languages. I was reading it as JS.
minus-square@dukk@programming.devlinkfedilink3•1 year 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