You are viewing a single thread.
View all comments View context
21 points

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

permalink
report
parent
reply
7 points

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

permalink
report
parent
reply
3 points

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

permalink
report
parent
reply
2 points

K&R for life

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 4.4K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments