mizech mizech - 27 days ago 17
Java Question

File-names in web development: What shall one use as an word-separator in complex file names?

I ask myself what I shall use as an separator for complex files names like for example "Monthly Project Report".

I see a lot of people using hyphen. According: 'monthly-project.report.php'.

But I got some doubt concerning that because hyphen can be mistaken as an arithmetic minus in programming.

Wouldn't it be better to use an underscore (_)?

So what separator in appropriate to use?

Answer

That is not a problem. You better to use () If you not going to show the file in Google search engine. most of the developers normally use (-) for Google SEO targeting. You should better use () as you mentioned some one may be have doubt if it is mines :)

Comments