The backtick is used on many sites of Stack Exchange to format inline text as code.
How do I pluralise words when they refer to code? Let's say I have some item in my code called "ToolBarButton". Which way of doing it is best practice? I have come across the following two:
ToolBarButton
s - seems like the "right" way to do it, but looks ugly and decreases readability.ToolBarButtons
- easier to read, but it suggests that an element exists which is called exactly "ToolBarButtons", which is simply not true.- ToolBarButtons - not formatted at all. But then the camel case looks weird if it's not marked as code.
Sample:
I have 10
ToolBarButton
s on myForm
and I had like to be able to iterate over them all at once without the need to callFind
on theForm
. How do I do that?
ToolBarButton
".ToolBarButton