3 ms·
Hmmm, just browsing the diff and spotted something odd to me : is that pretty typical code style to write: for (;;) ? Why not while (true)?
by spydum 12y ago
Hmmm, just browsing the diff and spotted something odd to me : is that pretty typical code style to write: for (;;) ?
Why not while (true)?
- lelf 12y agoIt is (for plain C). For while (true) you'd need <stdbool.h>. As for “for (;;)” vs “while (1)” I'd say the former is still more common.