fed.dyne.org
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
jroid8@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

know the features of your language

lemmy.world

message-square
145
link
fedilink
623

know the features of your language

lemmy.world

jroid8@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
145
link
fedilink
  • bamboo@lemm.ee
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    1 year ago

    I’m learning swift and I actually just discovered ?? today. Am I missing out in other languages?

    • qaz@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      1 year ago

      C# and Kotlin both have it

    • hstde@feddit.de
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      Yes, it’s very useful when applied correctly.

      I’m always disappointed when I remember, that I can’t use such a feature, because I’m stuck using Java.

      • jape@infosec.pub
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Maybe you’r using an older version of Java? Works fine for me.

        • hstde@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          New versions of java have a null coalescing operator?

          I didn’t know that.

          Edit: a short search didn’t return any answers, as far as I can see java doesn’t have this operator, the closest thing is the ternary if operator.

    • Psaldorn@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      PHP too

    • effward@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      C#

    • reboot6675@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      JavaScript and TypeScript too

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

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.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 274 users / day
  • 1.72K users / week
  • 2.43K users / month
  • 10.4K users / 6 months
  • 2 local subscribers
  • 35.7K subscribers
  • 1.56K Posts
  • 27.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org