cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agoRecursionkbin.melroy.orgexternal-linkmessage-square15linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkRecursionkbin.melroy.orgcm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square15linkfedilink
minus-squareReptorian@programming.devlinkfedilinkarrow-up0·28 days agoYeah. repeat() is unique to a few language. I think just Scala, and G’MIC has it. I use the second one. It’s more convenient than say for(p=0,p<5,++p,);. Sometimes, repeat(5,); suffice.
Yeah. repeat() is unique to a few language. I think just Scala, and G’MIC has it. I use the second one. It’s more convenient than say
for(p=0,p<5,++p,);
. Sometimes,repeat(5,);
suffice.