1671
submitted 1 year ago by 5SpeedDeasil@lemmy.world to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] IBurnedMyFingers@discuss.tchncs.de 1 points 1 year ago* (last edited 1 year ago)

Java/C# would have types before the variables:

double sum = 0d;
for (int i = 0; i < 4; i++)
	sum += 3 * i;
[-] gamer@lemm.ee 3 points 1 year ago

Only if they're declared in the snippet.

this post was submitted on 16 Jul 2023
1671 points (96.5% liked)

Memes

45775 readers
2616 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS