Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 1 year ago

Aaargh....my eyes......my eyes......

lemmy.world

message-square
97
fedilink
623

Aaargh....my eyes......my eyes......

lemmy.world

@[email protected] to Programmer [email protected] • 1 year ago
message-square
97
fedilink
  • @[email protected]
    link
    fedilink
    31•1 year ago

    Amateur! Ints should be called i, j or k.

    • @[email protected]
      link
      fedilink
      English
      27•1 year ago

      Cmon now its illegal to use them anywhere other than iterators

      • @[email protected]
        link
        fedilink
        English
        3•1 year ago

        This is the way

      • @[email protected]
        link
        fedilink
        4•1 year ago

        I sometimes use n as my loop variable (⌐■_■)

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

          n is genrally the max though. “From i=0 to n” is used in math all the time.

          • @[email protected]
            link
            fedilink
            1•1 year ago

            Not in my code

            • @[email protected]
              link
              fedilink
              1•1 year ago

              Which is fine, only it might confuse whoever then has to maintain your code.

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.
  • 32 users / day
  • 100 users / week
  • 423 users / month
  • 1.56K users / 6 months
  • 4 subscribers
  • 1.82K Posts
  • 38.5K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org