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.
  • cr0w@infosec.exchangeC cr0w@infosec.exchange

    @swordlace @catsalad That's some @kajer type chaos there and I love it.

    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
    #11

    @cR0w @swordlace *runs away before @kajer arrives*

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

      What's your favorite 1 character length variable name?

      lp0_on_fire@social.linux.pizzaL This user is from outside of this forum
      lp0_on_fire@social.linux.pizzaL This user is from outside of this forum
      lp0_on_fire@social.linux.pizza
      wrote last edited by
      #12

      @catsalad, what, no n or f? Both very convenient on a ZX Spectrum or ZX81 due to where FOR and NEXT are.

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

        What's your favorite 1 character length variable name?

        astifter@mastodon.astifter.comA This user is from outside of this forum
        astifter@mastodon.astifter.comA This user is from outside of this forum
        astifter@mastodon.astifter.com
        wrote last edited by
        #13

        @catsalad Cudos to whoever actually uses ๐’ˆ™.

        1 Reply Last reply
        0
        • R relay@relay.mycrowd.ca shared this topic
        • catsalad@infosec.exchangeC catsalad@infosec.exchange

          What's your favorite 1 character length variable name?

          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
          #14

          @catsalad n is one of them

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

            What's your favorite 1 character length variable name?

            nuclearoatmeal@beige.partyN This user is from outside of this forum
            nuclearoatmeal@beige.partyN This user is from outside of this forum
            nuclearoatmeal@beige.party
            wrote last edited by
            #15

            @catsalad

            Damnit. There was no k or q.

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

              What's your favorite 1 character length variable name?

              hcf@infosec.exchangeH This user is from outside of this forum
              hcf@infosec.exchangeH This user is from outside of this forum
              hcf@infosec.exchange
              wrote last edited by
              #16

              On @catsalad prompt I talked to an LLM and #TIL:

              # Good
              max_temperature = 30

              # Risky (though valid in Python)
              ๐ŸŒก๏ธ_max = 30

              Now I want to try it when I get to a console

              ptmcg@fosstodon.orgP 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
                #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
                                          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