Albin Jose@suppo.fi to Programmer Humor@lemmy.ml · 9 months agoShould have run slower.suppo.fiimagemessage-square39fedilinkarrow-up1884arrow-down133
arrow-up1851arrow-down1imageShould have run slower.suppo.fiAlbin Jose@suppo.fi to Programmer Humor@lemmy.ml · 9 months agomessage-square39fedilink
minus-squarePhoenix3875@lemmy.worldlinkfedilinkarrow-up29·9 months agodo { explain } while ( !they.understand )
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up46·9 months agodo { say("I use Arch btw"); } while ( they.interested ); This loop never runs twice.
minus-squareSquare Singer@feddit.delinkfedilinkarrow-up9·9 months agoFinally a correct application for the do-while meme!
minus-squareSynthead@lemmy.worldlinkfedilinkarrow-up6·9 months agoRuby has a fun until for refuted conditionals! until(they.understand) { explain } Reads like English 🙃
do { explain } while ( !they.understand )
do { say("I use Arch btw"); } while ( they.interested );
This loop never runs twice.
Finally a correct application for the do-while meme!
Ruby has a fun
until
for refuted conditionals!until(they.understand) { explain }
Reads like English 🙃