When we talk about C source code portability, we’re talking about writing the code so that it can be easily moved (ported) to another environment, so that after recompiling and relinking, it will behave the same way it did originally …
Read moreThink before you type – variable names and other entities
Names of variables, functions, arrays, and other data structures are incredibly important in making your code more readable and more maintainable. Engage Brain The most important piece of advice to start with is this: Think before you type anything. It …
Read moreWhy would my team ever need coding standards or guidelines?
When the term “coding standard” or “coding guideline” is brought up in a team meeting or training session, I will sometimes feel a sudden ten-degree drop in temperature in the room, the lighting dims to an eerie glimmer, and ominous …
Read moreWriting code that humans can understand
I’m often asked why I put so much emphasis on writing code that contains relevant comments, code that is readable, and code that is maintainable. After all, isn’t it enough to get the project to build properly and pass any …
Read more