I was wondering.
A word can be a verb, adjective, adverb, noun, etc. Is a word its own name? So the word “jump” (verb). Is it also a noun?, but only for the very special case of naming itself.
Why I was thinking this.
I was explaining to a colleague, how to name parts of a computer program (variables, functions, procedures, etc). I stated that procedures should be verb phrases; functions and variables that are boolean should be adjectives, and functions and variables that are not boolean should be nouns. We did not get to adverbs (that is lesson two).
My colleague said that because they are names (variable name, function name etc), then they should all be nouns. This got me thinking. There must be something wrong about what we were taught at school (no surprise there).