Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum to Programmer [email protected] • 2 years ago

For?

i.imgur.com

message-square
13
fedilink
  • cross-posted to:
  • [email protected]
108

For?

i.imgur.com

Gollum to Programmer [email protected] • 2 years ago
message-square
13
fedilink
  • cross-posted to:
  • [email protected]
alert-triangle
You must log in or register to comment.
  • @[email protected]
    link
    fedilink
    43•2 years ago

    Undefined property : lenght

    • @[email protected]
      link
      fedilink
      2•2 years ago

      Yeah 💀 the for loop won’t run then

    • @[email protected]
      link
      fedilink
      4•2 years ago

      Syntax error: expected >

  • @[email protected]
    link
    fedilink
    19•2 years ago

    Unexpected token ‘public’

    • @[email protected]
      link
      fedilink
      41•2 years ago

      Unknown member ‘lenght’

      • @[email protected]
        cake
        link
        fedilink
        14•2 years ago

        Speak for yourself

  • @[email protected]
    link
    fedilink
    1•2 years ago

    Next!

  • @[email protected]
    link
    fedilink
    4•2 years ago

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

    • @[email protected]
      link
      fedilink
      2•
      edit-2
      2 years ago

      -8 bytes

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

      • @[email protected]
        link
        fedilink
        1•2 years ago

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

        • @[email protected]
          link
          fedilink
          1•2 years ago

          Which is?

          • @[email protected]
            link
            fedilink
            2•2 years ago

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

  • @[email protected]
    link
    fedilink
    23•2 years ago

    Syntax error: ? is not a valid operator

Programmer [email protected]

[email protected]
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.
  • 19 users / day
  • 58 users / week
  • 291 users / month
  • 1.54K users / 6 months
  • 4 subscribers
  • 1.84K Posts
  • 38.8K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org