[Icc-avr] Error message
Robertson, Derek
Derek.Robertson at logitech.uk.com
Thu Sep 6 05:29:56 PDT 2007
I guess it depends, on if your doing 10,000 identical units..... or 10 a
year with a spec that get's changed on a daily basis.... I fall into the
latter so more often than not, it's Maintainability/Readability that's
more important.
Thanks to all who shared there thoughts :o)
So next question.... What is the correct way to use brackets and
indentation ;o)
________________________________
From: BobGardner at aol.com [mailto:BobGardner at aol.com]
Sent: 06 September 2007 02:51
To: icc-avr at imagecraft.com
Subject: Re: [Icc-avr] Error message
In a message dated 9/5/2007 6:36:47 P.M. Eastern Daylight Time,
paul.aa9gg at gmail.com writes:
I also use the Get & Set functions to exchange values between
the c files, never use extern.
Unsigned char GetEngineTemperature(void)
{
Return ucEngineTemperature;
}
========================================================
You'll need to give a summary of the pros and cons of this idea... its a
lose in the speed and space department. Its a win in readability? What
other criterion could possibly outweigh speed and space in any program?
If the boss had a choice of two programs that passed the atp, one was
written so that every variable was accessed with a call and a return
instead of just a load, and as a result, ran slower and needed a bigger
size flash, adding $2 extra for 10,000 32k processors instead of 10,000
16k processors, which would he approve for production?
________________________________
Get a sneak peek of the all-new AOL.com
<http://discover.aol.com/memed/aolcom30tour/?ncid=AOLAOF00020000000982>
.
--------------------------------------------------------
Logitech Ltd is a limited company registered in Scotland. Registration Number: SC42330
Registered Address: Erskine Ferry Road, Old Kilpatrick, Glasgow, G60 5EU, Scotland, UK
--------------------------------------------------------
This message (and any associated files) is intended only for the use of the individual or entity
to which it is addressed and may contain information that is confidential, subject to copyright
or constitutes a trade secret. If you are not the intended recipient you are hereby notified that
any dissemination, copying or distribution of this message, or files associated with this message,
is prohibited. If you have received this message in error, please notify us immediately by replying
to the message and deleting it from your computer.
Messages sent to and from us may be monitored.
Any views or opinions presented are solely those of the author and do not necessarily represent
those of the company.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20070906/35a31e2a/attachment.html
More information about the Icc-avr
mailing list