Eric Blake <ebl...@redhat.com> writes:

> On 3/12/19 9:00 AM, Yuval Shaia wrote:
>> Hi,
>> When file name consist of more than one word i have noticed that some files
>> use '-' as a separator (virtio-net-pci.c) and some use '_' (e1000e_core.c).
>> 
>> Since i'm about to start a new project i wonder what convention to use.
>
> I don't know if there is a strong convention, but I personally prefer -
> over _ (the former requires no shift key usage, and is therefore faster
> to type than the latter)

'-' vs. '_' is a matter of taste (I strongly prefer '-' myself), but
whatever you pick, use it consistently.  QEMU sets a bad example there.

Reply via email to