As a programmer with OCD (Obsessive-Compulsive Disorder), I wonder usually how people name the second element (variable, file name, etc.) in the programmer's world?
For example, I create a file with the name file
. I do NOT expect there is another one in this series.
However, one day I got a second one. What usually do you name it?
For example, it can be file1
, or file2
, or file0
, or file_b
, or fileB
, or file_
, or file (1)
...
There could be a lot. Which one is better (for some reasons)?
I am mostly concerned about file2
VS file1
, as element starts from 0
in the computer science world, however the real world starts from 1
.
Depending on how exactly it should read, I think most people will do file_001
or file_002
but I've seen it on professionally-written code many different ways, though all numbering systems use numbers and not letters.
Also, always name your files with leading leading zeros so that the files don't get out of order: file11
would come before file2
in this case, so do something like file011
and file002
.
It's usually not a big deal, but open source projects may specify a way to name files in the readme. If file naming is important to you, it never hurts to explain how you name your files in your project readme.