Embedded Software Blog

Posts tagged with 'commenting'

10 Aug, 2010

Who are you writing that for?

Posted by Hollis Blanchard

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

commenting

Archives

Tags

RSS