.project actually has a name, it’s name is
.project. It’s just that when it comes to file, we usually separate the extension from the name part.
The answer of the StackOverflow question you provided was a different situation. The file’s name was not printable because its name contained unprintable character.
In Windows, if you use Windows Explorer, it does not allow you to create a file whose name (before
.) is empty. But under the hood, you can create it via Command Prompt.
In *nix operating system, it does not care: