Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum@feddit.de to Programmer Humor@lemmy.ml · 3 年前

For?

i.imgur.com

message-square
15
fedilink
66

For?

i.imgur.com

Gollum@feddit.de to Programmer Humor@lemmy.ml · 3 年前
message-square
15
fedilink
alert-triangle
You must log in or register to comment.
  • Written2323@lemmy.ml
    link
    fedilink
    arrow-up
    43
    ·
    3 年前

    Undefined property : lenght

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      3 年前

      Syntax error: expected >

    • writeblankspace@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 年前

      Yeah 💀 the for loop won’t run then

  • TDCN@feddit.dk
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    3 年前

    Syntax error: ? is not a valid operator

  • pizzaiolo@slrpnk.net
    link
    fedilink
    arrow-up
    19
    ·
    3 年前

    Unexpected token ‘public’

    • Tolookah@discuss.tchncs.de
      link
      fedilink
      arrow-up
      42
      ·
      3 年前

      Unknown member ‘lenght’

      • fred@lemmy.ml
        link
        fedilink
        arrow-up
        14
        arrow-down
        1
        ·
        3 年前

        Speak for yourself

  • Vigge93@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    3 年前

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

    • lemmy_see@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 年前

      -8 bytes

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

      • Vigge93@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 年前

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

        • lemmy_see@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          3 年前

          Which is?

          • Vigge93@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            3 年前

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

  • fubo@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 年前

    Next!

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !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.
Visibility: Public
globe

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

  • 7 users / day
  • 838 users / week
  • 2.26K users / month
  • 7.09K users / 6 months
  • 1 local subscriber
  • 41.5K subscribers
  • 2.06K Posts
  • 42.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org