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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/05/10 09:37
Read: times


 
#177100 - Pros and Cons
Responding to: ???'s previous message
In my experience, drawing the state transition diagram is the core of the design. I remember having to upgrade an old bit of code that I had inherited, and the lack of documentation meant that in the end it was easier to reimplement that to modify. My project manager had been a bit perplexed at why the design was taking so long as, to quote "The slide goes in, the slide goes out". When I showed him the diagram with 12 states he understood why it took more than a day to code and test.

After drawing the state diagram it didn't really take very long to code up in C. So far I'm not making much of a case for CASE, but code maintenance is where CASE tools start to look good. If the original implementation had used a suitable tool, then the upgrade wouldn't have needed so much work. I'd like to think that the documentation I produced will be helpful in the future, but it's entirely possible that a future maintainer will modify the C and let the documentation lapse.

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