Don't check on category

Joe Shaw joeshaw at novell.com
Tue Nov 8 13:10:03 PST 2005


Hi,

On Tue, 2005-11-08 at 15:21 -0500, John (J5) Palmieri wrote:
> If people think it is important I really don't care if we keep the key.
> I'm only pointing out it will be a cause of bugs simply because it is a
> lot easier to check a string than a list and programmers are lazy ;-)
> Besides, isn't what a device is a product of its capabilities?  What
> would the iPod Video be listed as?  A portable_audio_player;
> video_player; a whole other category?  I would suspect UI would be
> geared towards the capabilities of a device and not the category.

In the specific case of a video ipod, I think that a category of
ipod.video isn't too ridiculous.  Its capabilities would include all the
ones you mention.

Joe



More information about the hal mailing list