5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square202fedilinkarrow-up11.72Karrow-down162cross-posted to: [email protected]
arrow-up11.66Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agomessage-square202fedilinkcross-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.