Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
2  
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

3 Answers 3

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
1  
"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
4  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.