5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 3 years agoRandom internet people explaining math better then math teacheri.imgur.comimagemessage-square169linkfedilinkarrow-up11.71Karrow-down159cross-posted to: [email protected]
arrow-up11.65Karrow-down1imageRandom internet people explaining math better then math teacheri.imgur.com5SpeedDeasil@lemmy.world to Memes@lemmy.ml · 3 years agomessage-square169linkfedilinkcross-posted to: [email protected]
minus-squareIBurnedMyFingers@discuss.tchncs.delinkfedilinkEnglisharrow-up1·3 years 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·3 years 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.