Thread (6 messages) flat view 6 messages, 4 authors, 2011-09-27

Re: [PATCH hcidump] avrcp: fix name of metadata field

From: David Stockwell <hidden>
Date: 2011-09-09 23:16:27

Hi Lucas,

-----Original Message----- 
From: Lucas De Marchi
Sent: Friday, September 09, 2011 8:29 AM
To: David Stockwell
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH hcidump] avrcp: fix name of metadata field

Hi David,

On Fri, Sep 9, 2011 at 9:22 AM, David Stockwell
[off-list ref] wrote:
That's fair.  For what it's worth, would this be better as an enum?
Please, don't top-post.

++++ I realized I did it afterwards, sorry.  I then decided it would be 
wasteful to send yet another e-mail (to you, Johan, the devel list, etc.) 
apologizing.
For most of my e-mail, I am on Windows 7, and I just forgot.

The avrcp parser in hcidump was done entirely with defines... I don't
see any point in changing that.

+++++ At this point, I agree with you, and in fact coded my version the same 
way.  In the Windows/.Net world, they strongly recommend enums because the 
compilers can provide somewhat better error checking.  No matter either way, 
just something to think about.

Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" 
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help