SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
mastermind@lemm.ee to Programmer Humor@lemmy.ml · 2 years ago

why not a,b or x,y?

lemm.ee

message-square
96
fedilink
628

why not a,b or x,y?

lemm.ee

mastermind@lemm.ee to Programmer Humor@lemmy.ml · 2 years ago
message-square
96
fedilink
  • Poob@lemmy.ca
    link
    fedilink
    arrow-up
    58
    arrow-down
    1
    ·
    edit-2
    2 years ago

    i is for index. j is simply the next letter and we’re too lazy to think up something meaningful

    • PM_ME_VINTAGE_30S [he/him]
      link
      fedilink
      arrow-up
      20
      ·
      2 years ago

      jndex

      • Gork@beehaw.org
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        kndex

        • CoffeeDev@lemmy.studio
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          2 years ago

          lndex

    • DraughtGlobe@feddit.nl
      link
      fedilink
      arrow-up
      17
      ·
      2 years ago

      I always thought it stood for iterator

      • indepndnt@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        I sometimes use it for “item”, knowing full well its established meaning as index or iterator, because I’m a rebel.

    • Chahk@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      i2?

      • piotrek416@szmer.info
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        ii

    • Xella@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      This is the real answer

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.

  • 21 users / day
  • 1.8K users / week
  • 2.61K users / month
  • 10.3K users / 6 months
  • 437 local subscribers
  • 35.7K subscribers
  • 1.73K Posts
  • 38.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org