Coding conventions provide guidelines on how code should be written for a particular programming language to allow best practices and consistency in programming style.
I’m forming a list of coding conventions by programming language and wanted to find out if devs here use coding conventions at all and if you do, which ones? Also, Are there any industry specific standards you follow?
I work with embedded C and my industry doesn’t have any coding standards that must be strictly followed as such. However, if I wanted some guidelines I tend to use a standard called MISRA C (Motor Industry Software Reliability Association) as a reference because it’s widely recognised in the embedded space.
Although, admittedly most of the time I’m simply using my own idea of best practices from past experience!