cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoRecursionkbin.melroy.orgimagemessage-square7fedilinkarrow-up1195
arrow-up1195imageRecursionkbin.melroy.orgcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square7fedilink
minus-squareReptorian@programming.devlinkfedilinkarrow-up2·2 months 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.