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

Back to Subject List

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


 
#162092 - You have to read and understand
Responding to: ???'s previous message
Studying code is a great way to learn - a very large part of my initial knowledge about programming is the result of reading through huge amounts of code with the goal to learn what the code does, figuring out why the original writer did select a specific solution and to try to see if I could do better somewhere in the code.

But deciding that the code isn't working and then jumping from code to code is a really lousy way to learn.

You learn by studying the code until you get it to work - and understands why it work - or until you know why it does not work. If you know why it doesn't work, then you can decide if it is worth the time to make it work, or if the code was so lousy that it is better to search for something else.

- Bing Logarth hasn't mentioned any samples he has looked at.
- He hasn't shown any feedback that he has looked at any code at all.
- He hasn't mentioned what was wrong with the code he possibly did look at.
- He has only requested "give me code".

In the end, "give me code" is a lousy way to learn, since it doesn't not give any understanding. It doesn't answer any "why" or "how".

List of 28 messages in thread
TopicAuthorDate
Multi Tasking in 8051            01/01/70 00:00      
   No need            01/01/70 00:00      
   to get a taste of it...            01/01/70 00:00      
      Or Not            01/01/70 00:00      
         I am thinking of implementing the superloop            01/01/70 00:00      
            It is one way            01/01/70 00:00      
      microcontroller vs microprocessor            01/01/70 00:00      
         Broad range of microcontrollers            01/01/70 00:00      
   I need help again!!!            01/01/70 00:00      
   Timer + conditional loop.            01/01/70 00:00      
      How do I implement the Interrupt Driven Serail Comm?            01/01/70 00:00      
         Samples            01/01/70 00:00      
         Own work            01/01/70 00:00      
            I am also looking            01/01/70 00:00      
               So where did you get stuck?            01/01/70 00:00      
               it will not            01/01/70 00:00      
               That *is* the trouble with sample code!            01/01/70 00:00      
               look at code library            01/01/70 00:00      
                  You have to read and understand            01/01/70 00:00      
   Some useful links here            01/01/70 00:00      
      Wha shuld the value of TMOD?            01/01/70 00:00      
         what is in TMOD now?            01/01/70 00:00      
            it does not work            01/01/70 00:00      
               what happens to T1 when            01/01/70 00:00      
                  I don't know what happens to TI            01/01/70 00:00      
                     time for some basic debugging            01/01/70 00:00      
                        tx and gnd shorted            01/01/70 00:00      
                           New question, new thread            01/01/70 00:00      

Back to Subject List