Recommended C Style and Coding Standards

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Recently I have been scouring the web looking for examples on a particular project (C based).

   
        
   
    Unfortunately or otherwise, I was quickly immersed in a another world,, having to understand coding technique used by a very diverse galaxy of "C" programming styles.  I got most projects to run OK, but lots of time was spent searching the web for unexpected style 'quirks' and 'methods' (my usual 'work' enviroment is Labview).   
   
        
   
    -------- some examples that I discovered, with mixed preferences   
   
        
   
    Best C Coding Practices    
   
        
   
    Coding Techniques and Programming Practices   
   
        
   
    Macro Programming Best Practices: Styles, Guidelines and Conventions Including the Rationale Behind Them   
   
        
   
    Recommended C Style and Coding Standards   
   
        
   
    c programming using globals best practices   
   
        
   
    c programming using extern best practices   
   
        
   
    How to Use C's volatile Keyword   
   
        
   
    --------   
   
        
   
    Any thoughs or comments, esp. relating to Cypress Creator with embedded devices?   
   
        
   
    Does Cypress use an "in-house" guide ?   
   
        
   
    Thanks, Michael.   
12 Replies