If you have nothing good to say… say nothing!
Good code comments are great. Useless ones are the root of all evil! Stop with the useless and redundant comments.
private void CreateTheProcessingThread()
{
// Create the processing thread
new Thread(ProcessingThread).Start();
} // End of method CreateTheProcessingThread()
Really?! I couldn’t really tell what was going on there… all of those ridiculous comments were clouding what was really going on. Making the comment the actual name of the method and adding spaces is just asinine!
And do you really need an entire method to make one call? It’s okay if you do because you might eventually change the implementation of that method… but please just do it like this instead:
private void CreateTheProcessingThread()
{
new Thread(ProcessingThread).Start();
}
Categories: C#

Pat would be very upset about this.