Analysis
Examine other naming possibilities
Last updated
Was this helpful?
Examine other naming possibilities
Last updated
Was this helpful?
The selected names appear , simple, and understandable, but they have alternatives. The following analysis using the Html tag <span>
as an example should clarify the choice.
The possible words describe the span
.
✕ body
✕ content
✕ name
✕ phrase
✕ sentence
✓ text
✕ word
✕ Wrap body.
✕ Wrap content.
✕ Wrap name.
✕ Wrap phrase.
✕ Wrap sentence.
✓ Wrap text.
✕ Wrap word.
text
"Phrases can consist of a single word or a complete sentence." - Wikipedia
The possible words describe the <
.
✓ opening
✕ openingChar
✕ openingChars
✕ openingCharacters
✕ startingChars
✕ prefix
✕ beginning of the Wrap.
✓ opening of the Wrap.
✕ starting of the Wrap.
✕ beginning chars of the Wrap.
✓ opening chars of the Wrap.
✕ starting chars of the Wrap.
✓ Text opening.
✓ Text opening chars.
✓ Wrap opening.
✓ Wrap opening char.
✓ Wrap opening chars.
✓ Wrap opening characters.
✕ Wrap prefix.
✕ Wrap starting characters.
opening
A decision is made, the word 'opening' is selected to describe the char '<
' before the 'span
' because it's a general word and seems more intuitive than the 'starting' or even 'prefix' word. For example, let's read more about the prefix.
As noun
Cambridge Dictionary
As noun
"an affix attached to the beginning of a word, base, or phrase and serving to produce a derivative word or an inflectional form"
Merriam-Webster
Prefix refers more to the word than the text that's why the choice 'opening' seems safe. Crucial is to have in mind, a different tag can consist of more than one char e.g. {{variable}}.
The possible words describe the >
.
✓ closing
✓ closingChar
✓ closingChars
✓ closingCharacters
✕ endingChar
✕ endingChars
✕ endingCharacters
✕ suffix
✓ Text closing.
✓ Text closing chars.
✓ Wrap closing.
✓ Wrap closing char.
✓ Wrap closing chars.
✓ Wrap closing characters.
✕ Wrap ending chars.
✕ Wrap ending characters.
✕ Wrap suffix.
closing
The choice is straightforward because the choice of the 'opening' word forces us to use the 'closing' word.
✕ - Rejected ✓ - Confirmed
I selected to wrap the text because it's not only the word, , or sentence, but sentences and we can find a feature called 'word wrap'. On the other hand, wrap text may suggest wrapping words in the text. The text after the wrapping is also the content of the Wrap
. There is a wrap that can be opened or closed.
"a or of to the of a word to make a new word"