Orbiting Observer
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
JPDev@programming.dev to Programmer Humor@programming.dev · 2 years ago

ifn't

programming.dev

message-square
68
link
fedilink
141

ifn't

programming.dev

JPDev@programming.dev to Programmer Humor@programming.dev · 2 years ago
message-square
68
link
fedilink
  • jtk@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 years ago

    I would have bought it if they said ifnot instead, it’s the same number of characters and wouldn’t require a major parser overhaul to support keywords with a ’ in the name.

    • Pup Biru@aussie.zone
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      i mean, “unless” tends to be the usual term for an “if not” keyword in languages that implement such a thing

      • Fal@yiffit.net
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        2
        ·
        2 years ago

        Which is awful and incredibly confusing. I hate ruby

        • frezik@midwest.social
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          I find that you need to choose carefully when to use it. Simple cases tend to be alright. Larger, more complex conditions shouldn’t touch it.

        • msage@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          And Perl

          • NigelFrobisher@aussie.zone
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            And my axe!

        • Pup Biru@aussie.zone
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          totally agree; just saying that if it’s GOT to be something, that something should probably be unless… unless . . .

    • OpenStars@startrek.website
      cake
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 years ago

      Yeah, to be clear, I don’t like it, I don’t like it one bit:-P.

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 690 users / day
  • 3.9K users / week
  • 7.86K users / month
  • 17.9K users / 6 months
  • 1 local subscriber
  • 28.3K subscribers
  • 1.88K Posts
  • 65.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org