4 ms·
As usual, I read the code sample before reading the article: for (i=0;i<3;++i) { /* Do initialisation here! niftyConfig = 1; funkyValue =
by publicdebates 9mo ago
As usual, I read the code sample before reading the article:
for (i=0;i<3;++i) {
/* Do initialisation here!
niftyConfig = 1;
funkyValue = 2;
}
There's no way it's mentally just as easy for me to find that error without syntax highlighting.
It may be just slightly more difficult, but then it's death by a thousand paper cuts if I'm reading code for 6-12 hours a day.
- Miraltar 9mo agoI think it's fine when you're just working on your own but if you have to review code or work in a codebase you don't own that's much more effort.