On 14 Oct 2008, at 11:06 , Sebastien Lelong wrote: > Writing libs that use other specific libs is a bad idea anyhow. > ??? Why ? I do this a lot of time.
Writing a temperature to the screen, depending on a given word, with say 0.01k as LSB is fine. Writing a temperature to the screen and pulling this temperature from another lib is not fine. This way you can't re-use the library anymore for another sensor. Writing formatted output to a "device" is good, because device can be a parallel LCD, a serial LCD or a terminal. Writing formatted output to a specific LCD is bad, even when using the specific library. Again, have a look at format.jal and print.jal to how it is done. Rob saw the light too. > I'd like a vote on this, because then I can adapt all my libs and > continue with new ones. > OK. Please post on this, with clear options (including current JSG > rules), so people can make their choice. in another post. --- 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 -~----------~----~----~----~------~----~------~--~---
