>-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >Sent: 17 February 2005 13:42 >To: 'Microcontroller discussion list - Public.' >Subject: RE: [EE] Languages, was Bug in Microchip mcc18 std library? > > >> While this may be cutesy intellectual exercise, anyone who >> puts this in >> production code should be demoted to assistant mailroom clerk >> straight away. > >In this particular case (and without evidence to the contrary) >I agree. But note that the original Duff's device increased >the speed of some program from unacceptable to good. Anyone >who comes up with something like this to save the day for his >company deserves prise. > >Wouter van Ooijen Exactly. It's all very well saying that use of unusual/non-obvious programming constructs is always bad, but if it's the only way to acheive a desired goal and is properly documented (unlike the example given) then I don't see a problem. Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist