by jpollock · 11y ago · 0 comments
Here was the problem:
for (int i=0;i<3;++i) {
/* Initialize important things.
frozzleTheNozzle();
}
while (1) {
/* Do ALL THE THINGS. */
makeSureTheNozzleStaysFrozzled();
}
Syntax highlighting prevents the entire class of bugs from happening (as do compiler warnings, but hey). I told one of the other guys I was working with, and he introduced me to emacs which had just gained font-lock mode.I will say though that highlighting comments and strings separately from the code doesn't necessitate full syntax highlighting. I remember (and have saved somewhere) an article on syntax highlighting where only comments were highlighted.