Hyphens versus underscores
Bill Campbell
linux-sxs at celestial.com
Sat Jan 3 10:56:20 PST 2009
On Sat, Jan 03, 2009, Kurt Wall wrote:
>On Sat, Jan 03, 2009 at 11:58:38AM +0200, Angel Tsankov wrote:
>> Hi,
>>
>> Does anyone known good reasons to prefer hyphens to underscores or vice
>> versa in file names?
>
>I am not aware of a technical reason to prefer one to the other. I find
>hyphens easier to type than underscores because hyphens require use of a
>Shift key on a QWERTY (Sholes) keyboard. Nonetheless, I seem to prefer
>underscores, likely as a matter of habit.
I tend to use ``-'' more frequently than underscores for the same
reason, although I am finding myself more frequently capitalizing
the first character of new words after the first (e.g. fileList).
This can get one into problems though on case-insensitive file
systems such as the default on OS X. I always reinstall OS X with
case-sensitive file systems, but have occassionally run into
problems with some commercial programs that don't work properly
on them, in particular the previous release of reunion genealogy
software, and I understand that some Adobe products don't work on
case-sensitive systems.
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186
A Democracy cannot exist as a permanent form of government. It can only
exist until the voters discover they can vote themselves largesse out of
the public treasury. From the moment on the majority always votes for the
candidate promising the most benefits from the public treasury with the
result that Democracy always collapses over a loose fiscal policy, always
to be followed by a Dictatorship.
Professor Alexander Fraser Tytler. 1801
More information about the Linux-users
mailing list