3 ms·
Yes. The basic error checking provided by something as simple as different colours for reserved words, defined variables, strings, etc, is extremely useful. Mo
by manicdee 10y ago
Yes. The basic error checking provided by something as simple as different colours for reserved words, defined variables, strings, etc, is extremely useful.
More developed syntax highlighting which knows about methods or functions that are in scope vs out of scope, variabkes that sre not defined in this scope, etc, are another layer of utility.
I get used to "for" being a certain shade of blue. When it is not blue, there is something wrong. If it is green, I have an unclosed string somewhere. If it is red, I have an unclosed block interfering with scope. If it is underlined, I have put the "for" where the parser was expecting an identifier.