|
|
|
|
|
by 1718627440
33 days ago
|
|
> Why are you using three index variables here? > You can't forget to increase one if the indices when all three are meant to go in lockstep. Obviously they are not in this example. The next line might contain: i++; j *= 42; k = srandom (k), random ();
|
|
...of utter insanity which doesn't belong in any real world code.
It just keeps getting worse, and shows why it was a horrible idea to allow this in the first place.
>The next line might contain:
Then that's where you do the arithmetic.You're already doing it there, why do you need to do an assignment inside the brackets?
(This was a rhetorical question. You don't).