Skip to main content
2 of 2
added 300 characters in body
BoltClock Mod
  • 722.1k
  • 38
  • 431
  • 392

Language names (like PHP, C#, HTML, CSS, JavaScript) are almost never candidates for code formatting, because they are proper nouns, just like Alice and Bob and Stack Overflow.

Generic control names that are simply part of natural language sentences should not be code-formatted either. Only when it's the name of an identifier in code should it be code-formatted, for example a Button class or a TextBox class.

That edit should not have been approved. The only part of the post where inline code formatting was appropriate was $(document).ready, but since it's an extremely minor edit and certainly one the post could live without, the editor should have just refrained from editing the post altogether.

BoltClock Mod
  • 722.1k
  • 38
  • 431
  • 392