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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/27/10 12:36
Read: times


 
#178342 - Don't think own code is the best
Responding to: ???'s previous message
You would be surprised how much industrial designs that is alive 10 or 20 years after the design. But during the years, a lot may have happened with the software which means that multiple generations of developers may have been involved.

A lamp timer may be a once-off project. Create it. Send all documentation to the factory. Move on with your life.

A large control system may not be a 100k volume project. The single system - or the 10 or 100 installations - may live for a long time, and regularly get new customizations as some peripherial hardware changes. Some additions are made to protocols to teach the system new tricks. Some changed hardware required changed timings, inverted signals, or sometimes really big software updates caused by concurrency issues etc.

The goal really has to be to write the code so that someone who haven't been involved in the project can jump in and figure out what is happening. That level of quality/documentation/... will to a big part be a gain to the original developer. But it will not just be a gain but maybe vital for allowing someone else to be able to modify the code without introducing hard-to-catch errors.

Of course I have seen a lot of code that is both beautiful and easy to understand. And I have seen a lot of code that is just plain ugly, stupid, hard-to-maintain, ... If I like the code isn't controlled by who wrote it, but the skill level of the writer.

List of 29 messages in thread
TopicAuthorDate
Uart user menu via switch/case state machine            01/01/70 00:00      
   State machine can be small.            01/01/70 00:00      
   My take....            01/01/70 00:00      
   asked and answered            01/01/70 00:00      
      Broken and Fixed            01/01/70 00:00      
         excellent            01/01/70 00:00      
            My experience as well....            01/01/70 00:00      
               My experience as well....            01/01/70 00:00      
               But you're the writer...            01/01/70 00:00      
                  out of context            01/01/70 00:00      
                     Yes, Chances are no one else will see your code            01/01/70 00:00      
                        male cow manure            01/01/70 00:00      
                           Don't be too over confident            01/01/70 00:00      
                  Just Concepts            01/01/70 00:00      
                     Don't think own code is the best            01/01/70 00:00      
                     exactly            01/01/70 00:00      
                        what I have done a lot of lately is            01/01/70 00:00      
   Protothreads???            01/01/70 00:00      
   A case for a CASE tool?            01/01/70 00:00      
      Using a tool like that........            01/01/70 00:00      
         Thanks Michael...            01/01/70 00:00      
            Pencil and paper            01/01/70 00:00      
      Pros and Cons            01/01/70 00:00      
         Analysis/Design            01/01/70 00:00      
            Enterprise Architect            01/01/70 00:00      
               RE: Enterprise Architect            01/01/70 00:00      
                  Reverse State Tables            01/01/70 00:00      
                     RE: "Reverse-engineering"            01/01/70 00:00      
                        php and html when documenting            01/01/70 00:00      

Back to Subject List