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

why not a,b or x,y?

lemm.ee

message-square
98
fedilink
627

why not a,b or x,y?

lemm.ee

@mastermind@lemm.ee
cake
to Programmer Humor@lemmy.ml • 2 years ago
message-square
98
fedilink
  • @csm10495@sh.itjust.works
    link
    fedilink
    7•2 years ago

    If you use I,j,k… what do you do if you need another? I hate seeing lowercase l as a var.

    • hh93
      link
      fedilink
      11•2 years ago

      If i is lowercase too then it doesn’t make a difference

      But tbh if your function is having mit than 3 levels of nested loops you should probably rethink that function

      • @faerbit@feddit.de
        link
        fedilink
        English
        4•2 years ago

        … or you just work in 3D …

        • @fangleone2526@lemmy.fmhy.ml
          link
          fedilink
          English
          4•2 years ago

          Wouldn’t that be x y z or something similar then though ? You wouldn’t even think to use i j k for that

      • @csm10495@sh.itjust.works
        link
        fedilink
        1•2 years ago

        This is the answer my college professors would have said. Lol

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.
  • 69 users / day
  • 978 users / week
  • 3.21K users / month
  • 9.83K users / 6 months
  • 37K subscribers
  • 1.81K Posts
  • 38.1K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org