Bug Squad 1 Prophets of Code

Code Criticism 101 with Cyndi the Code Critic

Today we're going to cover the basics of code criticism, because even the most seasoned developers can use a little help.

First off, let's talk about the importance of commenting. A good comment should be like a good joke: it should explain the why, not just the how.

And don't even get me started on naming conventions. If your variable is named 'x', it's not descriptive, it's a travesty.

Code Critique Corner

Here are some real-life examples of code that's just begging for a good critique: