Tips for Better Code Comments

Okay, I’ll admit: comments are not an exciting topic for most programmers. They generally aren’t viewed by anyone else except other coders, and if we’re honest, most coders ignore them, either by folding them up in their IDE, or by skipping over them. This is normally because coders don’t think about their comments in the same way as they think about their code.

So here are the tips I’ve come across over time that have helped me make better use of comments.

Continue Reading …

Posted in Philosophy, PHP, Programming | 1 Comment