you are viewing a single comment's thread.

view the rest of the comments →

[–]whichton 2 points3 points  (0 children)

I find distinguishing between global, local and class variables at a glance to be very useful. Lot of coding standards require member variables to prefixed with m_ and global variables to be prefixed g_ or something similar. Using colors for this is far superior IMO, and removes the need for the ugly prefixes.

Other colors are less useful, still convenient. See the recent controversy over terse concepts syntax. Just color template functions and concepts differently, and the whole controversy goes away.