On 15 Oct 2008, at 08:13 , Sebastien Lelong wrote: > About examples: if device_function() gives hd44780_clear(), then > function_device() should give clear_hd44780(), not clear_lcd_hd44780() > > If you go with 2), how will you deal with common API ? Since you > put the device (hd44780), what will you do when you'll change the > LCD type (st7036) ? Isn't this why we don't use "device", but what > we call "function" (lcd) and may call "device_family" or something > else. I understand there's a confusion about the meaning of > "function", better reserved for proc/func name, such as "read", > "write", "print", "move_motor_forward", etc...
Device family, I like that. I'll think about it some more. --- ir EE van Andel [EMAIL PROTECTED] http://www.fiwihex.nl Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands tel+31-546-491106 fax+31-546-491107 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
