Far Harbor
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
io@piefed.blahaj.zone to Programmer Humor@programming.devEnglish · 2 days ago

with a break statement right?

piefed.cdn.blahaj.zone

message-square
40
link
fedilink
566

with a break statement right?

piefed.cdn.blahaj.zone

io@piefed.blahaj.zone to Programmer Humor@programming.devEnglish · 2 days ago
message-square
40
link
fedilink

https://vt.social/@cyan/115530076272254156

  • Sunoc@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    ·
    1 day ago

    It’s C, but the unusual look of having two semicolons is the reason why I prefer it over while (True). It feels more like “here is the weird part”.

    • embed_me@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 day ago

      And the rare

      do { /*loop*/ } while(1);

    • toynbee@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Gotcha, thank you. I mostly code in bash or python.

      • TwilightKiddy@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        Well…

        for ((;;))
        do
          # stuff
        done
        

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.

  • 2.06K users / day
  • 3.34K users / week
  • 3.36K users / month
  • 3.43K users / 6 months
  • 1 local subscriber
  • 27.3K subscribers
  • 150 Posts
  • 803 Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org