mastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agowhy not a,b or x,y?lemm.eeimagemessage-square98fedilinkarrow-up1671arrow-down144
arrow-up1627arrow-down1imagewhy not a,b or x,y?lemm.eemastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agomessage-square98fedilink
minus-squarecsm10495@sh.itjust.workslinkfedilinkarrow-up7·1 year agoIf you use I,j,k… what do you do if you need another? I hate seeing lowercase l as a var.
minus-squarehh93@lemm.eelinkfedilinkarrow-up14arrow-down3·1 year agoIf 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
minus-squarefangleone2526@lemmy.fmhy.mllinkfedilinkEnglisharrow-up4·1 year agoWouldn’t that be x y z or something similar then though ? You wouldn’t even think to use i j k for that
minus-squarecsm10495@sh.itjust.workslinkfedilinkarrow-up1·1 year agoThis is the answer my college professors would have said. Lol
If you use I,j,k… what do you do if you need another? I hate seeing lowercase l as a var.
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
… or you just work in 3D …
Wouldn’t that be x y z or something similar then though ? You wouldn’t even think to use i j k for that
This is the answer my college professors would have said. Lol