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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/26/03 02:06
Read: times


 
#51480 - RE: Tea Timer using led
Responding to: ???'s previous message
Hi Ralph,

Justa small tip since you mentioned that you are entering this field of coding for MCUs.

Adapt a specific style of coding. The way you have typed it is defenitley a strain to read - in all caps. And one doesnt know where the code ends and comments begin. In fact I have made the same mistakes when I started.

One style that is easy on the eyes is :

Labels start with a capital and are in sentence case.

Instructions are all in lower case except for SFRs which are in caps.

Comments are in sentence case.

Just a suggestion.

Raghu

List of 13 messages in thread
TopicAuthorDate
Tea Timer using led            01/01/70 00:00      
   RE: Tea Timer using led            01/01/70 00:00      
   RE: Tea Timer using led            01/01/70 00:00      
      RE: Tea Timer using led            01/01/70 00:00      
   RE: Tea Timer using led            01/01/70 00:00      
      RE: Tea Timer using led            01/01/70 00:00      
         RE: Tea Timer using led            01/01/70 00:00      
            RE: Tea Timer using led            01/01/70 00:00      
               RE: Tea Timer using led            01/01/70 00:00      
                  RE: Tea Timer using led            01/01/70 00:00      
               RE: Tea Timer using led            01/01/70 00:00      
                  RE: Tea Timer using led            01/01/70 00:00      
                     RE: Tea Timer using led            01/01/70 00:00      

Back to Subject List