5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square204fedilinkarrow-up11.73Kcross-posted to: math@lemmy.world
arrow-up11.73KimageRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agomessage-square204fedilinkcross-posted to: math@lemmy.world
minus-squarePitrilinkfedilinkarrow-up10·1 year agothere is no reason for a (non-foreach) for loop to be any more or less finite than a while loop. for (a; b; c) { d; } is just syntactic sugar for { a; while (b) { d; c; } } in most or all languages with c-like syntax.
there is no reason for a (non-foreach) for loop to be any more or less finite than a while loop.
for (a; b; c) { d; }
is just syntactic sugar for
{ a; while (b) { d; c; } }
in most or all languages with c-like syntax.