0

I am creating identifiers in so called "camel case". This means that words are concatenated together and all the words (except the first in our case) are started with a capital letter.

For example, "see also" becomes seeAlso.

For "plaintext" or "plain text" it becomes plaintext or plainText.

So "plaintext" or "plain text"? (and thus plaintext or plainText?).

Side note: The term "plain text" means a text without formatting (without bold, italic, color, etc.)

1
  • What is your actual question? You hint at it in the title—but you don't actually ask it in the body of your question, which is just showing how camel case works. Aug 13, 2018 at 2:32

1 Answer 1

2

Plaintext as a single word in the software industry is used to mean "not encrypted."

If you simply mean unformatted text, you should use plainText.

Even better is being more specific and using unformattedText.

1
  • I agree with this answer—but I'm not sure if it answers the question, since I don't know what the question actually is . . . (If it's a single word, then nothing is capitalized; if it's two words, then the first letter of the concatenated portion is capitalized.) Aug 13, 2018 at 2:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .