[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Naming convention for file names
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] Naming convention for file names |
Date: |
Tue, 12 Mar 2019 15:51:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Eric Blake <address@hidden> 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.