Albin Jose@suppo.fi to Programmer Humor@lemmy.ml · 1 year agoShould have run slower.suppo.fiimagemessage-square40fedilinkarrow-up1979arrow-down137
arrow-up1942arrow-down1imageShould have run slower.suppo.fiAlbin Jose@suppo.fi to Programmer Humor@lemmy.ml · 1 year agomessage-square40fedilink
minus-squarePhoenix3875@lemmy.worldlinkfedilinkarrow-up36·1 year agodo { explain } while ( !they.understand )
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up53·1 year agodo { say("I use Arch btw"); } while ( they.interested ); This loop never runs twice.
minus-squareSquare Singer@feddit.delinkfedilinkarrow-up12·1 year agoFinally a correct application for the do-while meme!
minus-squareSynthead@lemmy.worldlinkfedilinkarrow-up7·1 year 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 🙃