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

Memes

46103 readers
2199 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] Zellith@lemmy.fmhy.ml 2 points 2 years ago (3 children)
[–] Pommel_Knight@lemmy.dbzer0.com 3 points 2 years ago

It's any C derivative language.

[–] greywolf0x1@lemmy.ml 1 points 2 years ago (1 children)

Could also be Javascript or C#.

[–] TheRedSpade@lemmy.world 2 points 2 years ago
[–] IBurnedMyFingers@discuss.tchncs.de 1 points 2 years ago* (last edited 2 years ago) (1 children)

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 2 years ago

Only if they're declared in the snippet.