lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish •
edit-2
4 months ago

The infamous "if loop" actually exists

discuss.tchncs.de

message-square
30
fedilink
184

The infamous "if loop" actually exists

discuss.tchncs.de

@kyub@discuss.tchncs.de to Programmer Humor@programming.devEnglish •
edit-2
4 months ago
message-square
30
fedilink

  • @Kacarott@aussie.zone
    link
    fedilink
    17•4 months ago

    But what is it in reference to? What’s the “infamous if loop”?

    • @aMockTie@lemmy.world
      link
      fedilink
      51•4 months ago

      Ah, I believe that would be this image from a college course.

      • @ulterno@programming.dev
        link
        fedilink
        English
        10•4 months ago

        I always wondered why I always had a hard time making developers not call “if” a “loop”.
        Turns out it was on their tests.

        Glad I didn’t read my college material, or I would have lost faith in my college professors.

      • @NigelFrobisher@aussie.zone
        link
        fedilink
        4•4 months ago

        It just occurred to that in Yorkshire dialect a while loop would actually be an until loop. Directives to the rescue!

    • @kyub@discuss.tchncs.deOP
      link
      fedilink
      English
      12•4 months ago

      “Infamous” just refers to newbies who sometimes call if statements “if loops”. I’ve heard this quite a bit.

    • @AliasVortex@lemmy.world
      link
      fedilink
      English
      0•4 months ago

      deleted by creator

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
  • 525 users / day
  • 5.16K users / week
  • 9.39K users / month
  • 18.2K users / 6 months
  • 23.6K subscribers
  • 1.44K Posts
  • 51K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org