Comment by em-bee
6 years ago
using colors to denote levels of nesting will make code flash between colors as you edit it.
why would that be a problem? the nesting wouldn't change with every keystroke, but only as you type the specific characters that define the nesting. and depending on your editor or your typing habit you may type opening and closing characters first before filling in the content, thus you wouldn't break the nesting structure either.
the pharo smalltalk code editor highlights nesting brackets and parentheses in different colors, and i don't see any flashing of colors.
No comments yet
Contribute on Hacker News ↗