Derock's Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish · 26 days ago

The meaning of this

lemmy.ml

message-square
64
fedilink
1

The meaning of this

lemmy.ml

bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish · 26 days ago
message-square
64
fedilink
  • Sjmarf@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    26 days ago

    Python does have a switch statement now, actually. And yes, they went out of their way to call it something different - match.

    https://docs.python.org/3/tutorial/controlflow.html#match-statements

    • NichtElias@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      26 days ago

      match isn’t just equivalent to switch though, so in this case it actually makes sense to call it something different.

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: [email protected]

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.

  • 29 users / day
  • 85 users / week
  • 380 users / month
  • 909 users / 6 months
  • 0 local subscribers
  • 37K subscribers
  • 613 Posts
  • 3.04K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org