mastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agowhy not a,b or x,y?lemm.eeimagemessage-square4fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imagewhy not a,b or x,y?lemm.eemastermind@lemm.ee to Programmer Humor@lemmy.ml · 1 year agomessage-square4fedilink
minus-squarecsm10495@sh.itjust.workslinkfedilinkarrow-up0·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-up0·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
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 …