mastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agowhy not a,b or x,y?lemm.eeimagemessage-square97fedilinkarrow-up1655arrow-down142
arrow-up1613arrow-down1imagewhy not a,b or x,y?lemm.eemastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agomessage-square97fedilink
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