What's your favorite 1 character length variable name?
-
What's your favorite 1 character length variable name?
-
What's your favorite 1 character length variable name?
-
What's your favorite 1 character length variable name?
@catsalad i is the only one that won't make me want to stab you in a face, and it's only acceptable as an iteration counter.
(Aside from code golf, obv)
-
@catsalad i is the only one that won't make me want to stab you in a face, and it's only acceptable as an iteration counter.
(Aside from code golf, obv)
-
What's your favorite 1 character length variable name?
@catsalad let x = x
-
What's your favorite 1 character length variable name?
@catsalad z only at 1%? Are really so few people regularly dealing with complex numbers? Hard to believe.
-
What's your favorite 1 character length variable name?
@catsalad I catch myself doing defaults, like x,i, n. then change to q, for example, to keep it fresh, and confuse my future self.
-
What's your favorite 1 character length variable name?
@catsalad I specifically chose zsh for my home machine so I could use emoji for variable and function names lol
ZSH prompt with finger guns π π π (requires emoji support)
ZSH prompt with finger guns π π π (requires emoji support) - fingerguns.zsh-theme
Gist (gist.github.com)
-
@catsalad I specifically chose zsh for my home machine so I could use emoji for variable and function names lol
ZSH prompt with finger guns π π π (requires emoji support)
ZSH prompt with finger guns π π π (requires emoji support) - fingerguns.zsh-theme
Gist (gist.github.com)
@swordlace
Beautiful! -
@catsalad I specifically chose zsh for my home machine so I could use emoji for variable and function names lol
ZSH prompt with finger guns π π π (requires emoji support)
ZSH prompt with finger guns π π π (requires emoji support) - fingerguns.zsh-theme
Gist (gist.github.com)
@swordlace @catsalad That's some @kajer type chaos there and I love it.
-
@swordlace @catsalad That's some @kajer type chaos there and I love it.
@cR0w @swordlace *runs away before @kajer arrives*
-
What's your favorite 1 character length variable name?
@catsalad, what, no n or f? Both very convenient on a ZX Spectrum or ZX81 due to where FOR and NEXT are.
-
What's your favorite 1 character length variable name?
@catsalad Cudos to whoever actually uses π.
-
R relay@relay.mycrowd.ca shared this topic
-
What's your favorite 1 character length variable name?
@catsalad n is one of them
-
What's your favorite 1 character length variable name?
Damnit. There was no k or q.
-
What's your favorite 1 character length variable name?
-
@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...)
-
What's your favorite 1 character length variable name?
@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.
-
@catsalad let x = x
-
@BarneyDellar @catsalad totally understandable
οΈ_max = 30