Embedded Software Blog

Posts tagged with 'commenting'

Who are you writing that for?

Posted Aug 10, 2010, by Hollis Blanchard

Some people believe code is be self-evident, and, like debuggers, comments in source code are a crutch for the weak developer. I am not one of those people. Commenting code is good. Comments not only help other people understand my code, they also help me understand my code when I re-read it 6 months later. But sometimes I see comments that make me cringe. Some examples: /* Check to see if this header … Read More

Tags: commenting, C