Nearly every developer uses syntax highlighting for viewing code. It helps to have keywords and function names highlighted in different colors. However, even when writing about code (in paragraphs of text), it helps to have code words be highlighted somehow.
For example, suppose you are writing about Dictionary
, a specific class
in C#. But a person might not know this and think you are writing about a dictionary, like a way to check definitions of words. So it helps to highlight the code term Dictionary
if that is the subject.
I put some time into adding code word highlighting on the site. It works by:
HashMap
(or Dictionary
if you prefer) of terms.I think the new approach makes the site easier to read and use. It can be overwhelming on pages with too many highlights, but overall I find it an improvement.