Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is this_option more common than thisOne?

share|improve this question
Given how short are most command names and directories, e.g. cat for concatenate or lib for libraries, I think that the answer to your question would be to :-) – Cristian Ciupitu Sep 15 '10 at 14:12
Although it doesn't answer your question, you might find Fixing Unix/Linux/POSIX Filenames to be an interesting read. – Dennis Williamson Sep 15 '10 at 14:48
up vote 0 down vote accepted

Traditional folders have names like bin, lib, and etc. Files have names like init, ls, and fstab. Probably because when unix was born, memory was so limited that saving 4 bytes was a good idea.

Capital letters were rare. Not sure why. The shift key had not been invented yet?

So, this_option would be the traditional choice.

In modern times, memory is not a problem.

The system does not require any particular convention. Any character is allowed except for the / and the NUL character.

I hate programs that do not work properly if I have a space in my file name. I should be allowed to use spaces if I want.

A dirty trick is to use a non-printable character in a file name. If you cannot easily type the file's name, it is difficult to do anything with it.

share|improve this answer
"If you cannot easily type the file's name" - Say hello to ls -b – grawity Sep 17 '10 at 14:55

The general convention would be thisoption.

share|improve this answer
butisn'tthisreallyhardtounderstand? – David B Sep 15 '10 at 13:22
or if you really want to be perverse, youCouldDo_something_like-this – FrustratedWithFormsDesigner Sep 15 '10 at 13:30

As a child of the Unix family, convention would give to or opt.

If your file has a GNU licence, you could name it gopt.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .