I noticed a long time ago that a number of files included with projects, especially files called README, LICENSE, and so forth, frequently have no filename extension. This is strange to me because it requires the reader of such files to perform some extra commands to open it.
I visited Is it good programming practice to create files with no extension?, but while the answer suggests it's not good to have no filename extension, it doesn't answer my question of whether there is a motive in not including one.
I'd like to know if there are reasons not to include file extensions and what those reasons might be.
.txt
:less README.txt
. Reading a text file without file extension:less README
. What are those "extra commands" I need to "perform" to open it? If anything, the version without extension has 4 keystrokes less than the one with extension. (Although in both cases, I actually only typele<TAB> R<TAB>
), so it's 5 keystrokes either way.