Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. What's your favorite 1 character length variable name?

What's your favorite 1 character length variable name?

Scheduled Pinned Locked Moved Uncategorized
53 Posts 43 Posters 4 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • darthnull@infosec.exchangeD This user is from outside of this forum
    darthnull@infosec.exchangeD This user is from outside of this forum
    darthnull@infosec.exchange
    wrote last edited by
    #17

    @petealexharris @catsalad Especially if the next nested loops are j and then k.

    I wonder how many people just use i because it's what they've seen, and have no idea of where it came from...

    (IIRC, weren't i, j, k (and maybe l?) specially treated by the FORTRAN compiler to specific data types for speed? It's been a looong time...)

    elysemgrasso@wandering.shopE 1 Reply Last reply
    0
    • catsalad@infosec.exchangeC catsalad@infosec.exchange

      What's your favorite 1 character length variable name?

      linuxandyarn@hachyderm.ioL This user is from outside of this forum
      linuxandyarn@hachyderm.ioL This user is from outside of this forum
      linuxandyarn@hachyderm.io
      wrote last edited by
      #18

      @catsalad For loops in my shell one-liners use A for IP addresses, D for directories, F for files, H for hostnames, N for numbers, and U for users. And yes, I capitalize them because one-character variables should call attention to the fact that they're temporary and easy to lose.

      1 Reply Last reply
      0
      • dgodon@mastodon.onlineD dgodon@mastodon.online

        @catsalad let x = x

        linuxandyarn@hachyderm.ioL This user is from outside of this forum
        linuxandyarn@hachyderm.ioL This user is from outside of this forum
        linuxandyarn@hachyderm.io
        wrote last edited by
        #19

        @dgodon @catsalad paging @laurieandersonlyricbot2

        dgodon@mastodon.onlineD 1 Reply Last reply
        0
        • placebo@mastodon.ieP This user is from outside of this forum
          placebo@mastodon.ieP This user is from outside of this forum
          placebo@mastodon.ie
          wrote last edited by
          #20

          @BarneyDellar @catsalad totally understandable

          1 Reply Last reply
          0
          • darthnull@infosec.exchangeD darthnull@infosec.exchange

            @petealexharris @catsalad Especially if the next nested loops are j and then k.

            I wonder how many people just use i because it's what they've seen, and have no idea of where it came from...

            (IIRC, weren't i, j, k (and maybe l?) specially treated by the FORTRAN compiler to specific data types for speed? It's been a looong time...)

            elysemgrasso@wandering.shopE This user is from outside of this forum
            elysemgrasso@wandering.shopE This user is from outside of this forum
            elysemgrasso@wandering.shop
            wrote last edited by
            #21

            @darthnull @petealexharris @catsalad i through m were integers, so useful for counters and array indexes

            1 Reply Last reply
            0
            • linuxandyarn@hachyderm.ioL linuxandyarn@hachyderm.io

              @dgodon @catsalad paging @laurieandersonlyricbot2

              dgodon@mastodon.onlineD This user is from outside of this forum
              dgodon@mastodon.onlineD This user is from outside of this forum
              dgodon@mastodon.online
              wrote last edited by
              #22

              @linuxandyarn @catsalad @laurieandersonlyricbot2 https://mastodon.social/@laurieandersonlyricbot2/11645770166764335sonlyricbot2@mastodon.social https://mastodon.social/@laurieandersonlyricbot2/116457701667643358

              1 Reply Last reply
              0
              • darthnull@infosec.exchangeD This user is from outside of this forum
                darthnull@infosec.exchangeD This user is from outside of this forum
                darthnull@infosec.exchange
                wrote last edited by
                #23

                @petealexharris @ElyseMGrasso @catsalad "misremembered." heh. At this point, the fact that I remember anything at all about this bit of programming lore, I consider a victory.

                (integrating assembly with FORTRAN on a Unisys mainframe was one of my favorite weird assignments in college...)

                1 Reply Last reply
                0
                • catsalad@infosec.exchangeC catsalad@infosec.exchange

                  What's your favorite 1 character length variable name?

                  australopithecus@mastodon.socialA This user is from outside of this forum
                  australopithecus@mastodon.socialA This user is from outside of this forum
                  australopithecus@mastodon.social
                  wrote last edited by
                  #24

                  @catsalad
                  ๐“‚บ
                  (U+130BA, from the Egyptian hieroglyphs block)

                  catsalad@infosec.exchangeC 1 Reply Last reply
                  0
                  • catsalad@infosec.exchangeC catsalad@infosec.exchange

                    What's your favorite 1 character length variable name?

                    ericdere@mastodon.nlE This user is from outside of this forum
                    ericdere@mastodon.nlE This user is from outside of this forum
                    ericdere@mastodon.nl
                    wrote last edited by
                    #25

                    @catsalad a for lambdas, i for iterations

                    1 Reply Last reply
                    0
                    • australopithecus@mastodon.socialA australopithecus@mastodon.social

                      @catsalad
                      ๐“‚บ
                      (U+130BA, from the Egyptian hieroglyphs block)

                      catsalad@infosec.exchangeC This user is from outside of this forum
                      catsalad@infosec.exchangeC This user is from outside of this forum
                      catsalad@infosec.exchange
                      wrote last edited by
                      #26

                      @australopithecus The censored in Windows hieroglyphs!

                      Link Preview Image
                      Ancient Egyptian hieroglyph censorship is the worst idea ever. - Microsoft Q&A

                      As a Egyptomania, I often type hieroglyphic words in window OS, but have some problem. There is a problem with fonts being censored when using phallus-shaped letters in Windows OS. ๐“‚ธ๐“‚น๐“‚บ ๐“‚ธ๐“ค๐“‚น๐“ค๐“‚บ If other hieroglyphs are added next to this letter,โ€ฆ

                      favicon

                      (learn.microsoft.com)

                      1 Reply Last reply
                      0
                      • catsalad@infosec.exchangeC catsalad@infosec.exchange

                        What's your favorite 1 character length variable name?

                        faraiwe@mstdn.socialF This user is from outside of this forum
                        faraiwe@mstdn.socialF This user is from outside of this forum
                        faraiwe@mstdn.social
                        wrote last edited by
                        #27

                        @catsalad ::draws ancient Quenya tengwa symbol, whispers its name, watches the air fill with ethereal light and a thrumming::

                        1 Reply Last reply
                        0
                        • catsalad@infosec.exchangeC catsalad@infosec.exchange

                          What's your favorite 1 character length variable name?

                          qgustavor@urusai.socialQ This user is from outside of this forum
                          qgustavor@urusai.socialQ This user is from outside of this forum
                          qgustavor@urusai.social
                          wrote last edited by
                          #28

                          @catsalad I wish I could change my vote

                          1 Reply Last reply
                          0
                          • catsalad@infosec.exchangeC catsalad@infosec.exchange

                            What's your favorite 1 character length variable name?

                            icing@chaos.socialI This user is from outside of this forum
                            icing@chaos.socialI This user is from outside of this forum
                            icing@chaos.social
                            wrote last edited by
                            #29

                            @catsalad `i`, my code is very complex.๐Ÿ˜Œ

                            1 Reply Last reply
                            0
                            • catsalad@infosec.exchangeC catsalad@infosec.exchange

                              What's your favorite 1 character length variable name?

                              wcbdata@vis.socialW This user is from outside of this forum
                              wcbdata@vis.socialW This user is from outside of this forum
                              wcbdata@vis.social
                              wrote last edited by
                              #30

                              @catsalad Is this multi-choice ironically?

                              1 Reply Last reply
                              0
                              • catsalad@infosec.exchangeC catsalad@infosec.exchange

                                What's your favorite 1 character length variable name?

                                finitebaffle@mas.toF This user is from outside of this forum
                                finitebaffle@mas.toF This user is from outside of this forum
                                finitebaffle@mas.to
                                wrote last edited by
                                #31

                                @catsalad who tf voted for the โ€œlodashโ€ ๐Ÿ™‚โ€โ†”๏ธ

                                1 Reply Last reply
                                0
                                • catsalad@infosec.exchangeC catsalad@infosec.exchange

                                  What's your favorite 1 character length variable name?

                                  iamlayer8@mastodon.socialI This user is from outside of this forum
                                  iamlayer8@mastodon.socialI This user is from outside of this forum
                                  iamlayer8@mastodon.social
                                  wrote last edited by
                                  #32

                                  @catsalad
                                  Itโ€™s I for nostalgia reasons. But I like emojis in code and the last one is just cool.

                                  I demand equal treatment for all Unicode!

                                  To be honest, there should be dedicated Unicode characters for code.
                                  (now everybody should be aware that Iโ€™m not a programmer myself)

                                  1 Reply Last reply
                                  0
                                  • catsalad@infosec.exchangeC catsalad@infosec.exchange

                                    What's your favorite 1 character length variable name?

                                    lijepasam@social.vivaldi.netL This user is from outside of this forum
                                    lijepasam@social.vivaldi.netL This user is from outside of this forum
                                    lijepasam@social.vivaldi.net
                                    wrote last edited by
                                    #33

                                    @catsalad
                                    doing math: x
                                    coding : i

                                    1 Reply Last reply
                                    0
                                    • catsalad@infosec.exchangeC catsalad@infosec.exchange

                                      What's your favorite 1 character length variable name?

                                      dc4ac@radiosocial.deD This user is from outside of this forum
                                      dc4ac@radiosocial.deD This user is from outside of this forum
                                      dc4ac@radiosocial.de
                                      wrote last edited by
                                      #34

                                      @catsalad Actually, it's ัญ

                                      1 Reply Last reply
                                      0
                                      • catsalad@infosec.exchangeC catsalad@infosec.exchange

                                        What's your favorite 1 character length variable name?

                                        L This user is from outside of this forum
                                        L This user is from outside of this forum
                                        luc0x61@mastodon.gamedev.place
                                        wrote last edited by
                                        #35

                                        @catsalad The all times favorite, thanks to math and K&R, can only be i, but... I do a lot of MISRA strict code, so nothing shorter than 4 char and meaningful in the context! ๐Ÿ˜…

                                        1 Reply Last reply
                                        0
                                        • catsalad@infosec.exchangeC catsalad@infosec.exchange

                                          What's your favorite 1 character length variable name?

                                          rebootdeluxe@infosec.exchangeR This user is from outside of this forum
                                          rebootdeluxe@infosec.exchangeR This user is from outside of this forum
                                          rebootdeluxe@infosec.exchange
                                          wrote last edited by
                                          #36

                                          @catsalad โˆž

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups