5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square198fedilinkarrow-up11.18Karrow-down144cross-posted to: [email protected]
arrow-up11.14Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agomessage-square198fedilinkcross-posted to: [email protected]
minus-squareIBurnedMyFingers@discuss.tchncs.delinkfedilinkEnglisharrow-up1·edit-21 year agoJava/C# would have types before the variables: double sum = 0d; for (int i = 0; i < 4; i++) sum += 3 * i;
minus-squaregamer@lemm.eelinkfedilinkEnglisharrow-up3·1 year agoOnly if they’re declared in the snippet.
Java/C# would have types before the variables:
double sum = 0d; for (int i = 0; i < 4; i++) sum += 3 * i;
Only if they’re declared in the snippet.