Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/25/06 22:57
Read: times


 
#117124 - That's why I keep saying ...
Responding to: ???'s previous message
There ought to be plenty of documentation for EVERY line of code.

That's why coding and debugging are, at most, 5% of the workload associated with good firmware. For each line of code there should not only be an explanation of EXACTLY what that line is supposed to accomplish, but also how it is supported/warranted in the requirements documentation, which, BTW, should be written, examined, and critically reviewed before the hardware/firmware design is even begun.

Code written in a HLL should be written BEFORE the processor is selected, and before the hardware is designed, and modifications only made in order to support higher-reliability or lower-cost hardware. Naturally, some additional code will be needed, probably in ASM in order to accomodate the specifics of the processor.

RE


List of 31 messages in thread
TopicAuthorDate
stupid code            01/01/70 00:00      
   Optimiser?            01/01/70 00:00      
      I use the NASA approach            01/01/70 00:00      
         Optimisation            01/01/70 00:00      
   it's an oscillator!            01/01/70 00:00      
   Not stupid at all            01/01/70 00:00      
      context            01/01/70 00:00      
   how about just plain ugle code?            01/01/70 00:00      
      stupid, but for other reasons            01/01/70 00:00      
      Normal?            01/01/70 00:00      
         watch your language            01/01/70 00:00      
            I think the word is "inane."            01/01/70 00:00      
               nope            01/01/70 00:00      
            Too Late            01/01/70 00:00      
   Always false            01/01/70 00:00      
      Just a typo ?            01/01/70 00:00      
   That reminds me            01/01/70 00:00      
      That's why I keep saying ...            01/01/70 00:00      
      You never know            01/01/70 00:00      
         I object vehemently            01/01/70 00:00      
         it's because he's stupid, not clever            01/01/70 00:00      
            Hmmmmmm...            01/01/70 00:00      
            who maintains?            01/01/70 00:00      
   stupid me            01/01/70 00:00      
   Not stupid you,stupid programmers            01/01/70 00:00      
      not HLL            01/01/70 00:00      
         abstraction            01/01/70 00:00      
            abstraction is the ideal            01/01/70 00:00      
               if you do not care about cost/performanc            01/01/70 00:00      
                  getting back to your original statement.            01/01/70 00:00      
   sheesh            01/01/70 00:00      

Back to Subject List