monyet.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@jroid8@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago

know the features of your language

lemmy.world

message-square
145
fedilink
622

know the features of your language

lemmy.world

@jroid8@lemmy.world to Programmer Humor@lemmy.ml • 2 years ago
message-square
145
fedilink
  • @bamboo@lemm.ee
    link
    fedilink
    17•2 years ago

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

    • qaz
      link
      fedilink
      17•2 years ago

      C# and Kotlin both have it

    • @hstde@feddit.de
      link
      fedilink
      13•2 years 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
        1•1 year ago

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

        • @hstde@feddit.de
          link
          fedilink
          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
      link
      fedilink
      9•2 years ago

      PHP too

    • @effward@lemmy.world
      link
      fedilink
      English
      7•2 years ago

      C#

    • @reboot6675@sopuli.xyz
      link
      fedilink
      7•2 years 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.
  • 298 users / day
  • 964 users / week
  • 3.42K users / month
  • 9.95K users / 6 months
  • 36.3K subscribers
  • 1.76K Posts
  • 38.2K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org