5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square205fedilinkarrow-up11.73Karrow-down162
arrow-up11.67Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 1 year agomessage-square205fedilink
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.