Word

Word

A word is a string of characters that are uppercase or lowercase. In the context of a variable name, these are the words you use to describe it’s function. You would later combine these words into a single idenfier to use as a variable, function, file, etc.

Word Case

A word is a series of characters. A word case is a series of character cases that describe how the word should be formatted. Below are some names to specific word casings, but is not exhaustive.

name series example
lower lower, lower, … pig, ostrich, goat
upper upper, upper, … CHICKEN, CRAB, BIRD
capital upper, lower, lower, … Dog, Monkey, Ocelot

Colloquially, we would say a word pig follows lower case, or that Monkey is capital case. For capital word case in particular, we say the word is capitalized.

This definition could be extended to include a word case that specifies end behavior, like that the last character should be upper case, for instance. Maybe, more generally, a word case a function that applies a letter case to each character.