I want to store byte data. Is it OK to use files without extension for it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I want to store byte data. Is it OK to use files without extension for it?

I want to store bytes for the byte data to be accessible after code has terminated. Is it encouraged to use files without extensions for the given purpose? Why? Is there more encouraged ways to store byte data? + Is there a simpler term for a file without extension?

4th Aug 2020, 3:54 PM
Seb TheS
Seb TheS - avatar
2 Answers
+ 5
Ehm, maybe I'm already too assimilated by the Unix world, but for me extensions are more like optional decorative stuff... A file is a file, if it has an extension or not. There is no need for another term from my point of view. And binary data in files without an extension are not too unusual, but I don't store too often binary data into files, so maybe there are good reasons to handle this different, I'm not familiar with...
4th Aug 2020, 4:06 PM
Sandra Meyer
Sandra Meyer - avatar
+ 3
Thanks.
7th Aug 2020, 10:49 PM
Seb TheS
Seb TheS - avatar