2 ms·
Probably compilers allow that kind of for loop because you can construct a valid for loop that does actual work inside what should be the condition logic. And s
by yjftsjthsd-h 4y ago
Probably compilers allow that kind of for loop because you can construct a valid for loop that does actual work inside what should be the condition logic. And sure, that's horrifying and awful and people shouldn't do it, but the spec says that it's valid so the compiler has to allow it.