The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum to Programmer Humor@lemmy.ml • 2 years ago

For?

i.imgur.com

message-square
15
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
66

For?

i.imgur.com

Gollum to Programmer Humor@lemmy.ml • 2 years ago
message-square
15
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
alert-triangle
You must log in or register to comment.
  • @lemmy_see@lemmy.world
    link
    fedilink
    2•
    edit-2
    2 years ago

    -8 bytes

    for (int i=1;;i++)

    • @Vigge93@lemmy.world
      link
      fedilink
      1•2 years ago

      Not quite the same, there’s a subtle but significant difference

      • @lemmy_see@lemmy.world
        link
        fedilink
        1•2 years ago

        Which is?

        • @Vigge93@lemmy.world
          link
          fedilink
          2•2 years ago

          What happens on the next iteration when i = 2,147,483,647 for each of our loops?

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml
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: !programmerhumor@lemmy.ml

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.
  • 1 user / day
  • 54 users / week
  • 169 users / month
  • 1.54K users / 6 months
  • 1 subscriber
  • 1.59K Posts
  • 29.7K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org