olsonexi@lemmy.wtftoProgramming@programming.dev•Real quick question about the "break"
2·
11 months agoidk, maybe C# just doesn’t have great syntax for the way you’re doing it or something, but I think the simplest solution is the most readable in this case:
for (int i = 1; i < JUST_THE_WORST_NUMBER; i += 2) {
Console.WriteLine(i);
}
Hanlon’s razor. I myself had no idea that 88 had any nazi-related meaning before I read this article and thought nothing of the title when I first heard it. It seems perfectly reasonable that the dev could have done the same, especially since they were willing to almost immediately change the name and remove all existing promotional material once they found out.