cm0002@lemmy.world to Programmer Humor@programming.dev · 28 days agoRecursionkbin.melroy.orgexternal-linkmessage-square16fedilinkarrow-up1392
arrow-up1392external-linkRecursionkbin.melroy.orgcm0002@lemmy.world to Programmer Humor@programming.dev · 28 days agomessage-square16fedilink
minus-squareReptorian@programming.devlinkfedilinkarrow-up2·21 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.