This is probably the most asinine blog post I’ll write, but for my sanity, it must be done.
It is spelled falsy.
Without the “e” between the “s” and the “y” – priod, th nd.
Okay. So what is Falsy anyway?
When describing a false-like value it is easier/faster to type “falsy” (or the now incorrect way of “falsey”) since it has less keystrokes, and it is easier to read due to the lack of character bloat; incidentally it also fits nicely as a variable because there is no hyphen (devil’s advocate: camelCase) and it is not a reserved word. It is important that the developer does not simply describe the value as “false” since this implies a variable of type Boolean, however using “falsy” implies a false-like value of any data type which, albeit more ambiguous in its definition, is more descriptive in its context.
I am by no means an English major, or anywhere near one, but I do have a knack for research and comprehension.
With regard to the suffixation of the letter “y” (vowel) when transforming a word, the “e” is dropped per the rules:
- Drop the final “e” from a root word before adding an ending beginning with a vowel, but keep it before a consonant. (Source: Amity Reading Clubs, “Some Spelling Rules”)
- When adding an ending to a word that ends with a silent “e”, drop the final “e” if the ending begins with a vowel. However, if the ending begins with a consonant, keep the final “e.” (Source: Capital Community College Foundation, “Some Rules and Suggestions about Spelling” – see “Rule #2: Dropping Final E”)
In the word “false,” the word ends with the vowel “e,” is preceded by the consonant “s,” and none of the exceptions are applicable.
F – A – L – S – Y