My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world to Programmer Humor@lemmy.ml ·
edit-2
2 years ago

and people wonder why we say PHP is a meme

lemmy.world

message-square
18
fedilink
4

and people wonder why we say PHP is a meme

lemmy.world

AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world to Programmer Humor@lemmy.ml ·
edit-2
2 years ago
message-square
18
fedilink
  • kibiz0r@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    To be fair: If you are chaining ternary expressions, you deserve to suffer whatever pain the language happens to inflict upon you tenfold.

    • Serdan@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      2 years ago

      Why?

      It’s perfectly readable.

      • lowleveldata@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        It is sort of readable. A switch is “perfectly” readable for switching.

        • Serdan@lemm.ee
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          2 years ago

          Ternary expressions aren’t switches though

          • Kryomaani@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            Which is exactly why you shouldn’t be using them in a situation that clearly calls for a switch.

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.

  • 333 users / day
  • 1.25K users / week
  • 3.28K users / month
  • 9.92K users / 6 months
  • 1 local subscriber
  • 36.9K subscribers
  • 1.75K Posts
  • 32.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org