622
submitted 11 months ago by jroid8@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Ebber 21 points 11 months ago

In C# that last one is the null propagation operator. If a is not null then a, else b.

[-] ABC123itsEASY@lemmy.world 7 points 11 months ago

Ah interesting one of those cases where this could be one of a few languages. I was reading it as JS.

[-] dukk@programming.dev 3 points 11 months ago

I thought it was TS/JS too, but the way those braces are below the if statements makes it feel more like C#.

[-] darkpanda@lemmy.ca 2 points 11 months ago
this post was submitted on 08 Dec 2023
622 points (96.4% liked)

Programmer Humor

32396 readers
524 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS