Coding Horror

In this post, there are several things programmer complain their predecessor

  • hundreds of forms named form1,form2, etc
  • No design document and no comment, or writing comment in Japanese in critical modules
  • Does not know how to use loop to reduce hundreds of lines to a few lines
  • name variables like aa,bb,cc, etc
  • Pretend to know how to code. E.g. claim the TreeView control in VB6 cannot be manipulated in a loop, then blame Microsoft for catching syntax errors and declare them as Microsoft Bugs, This guy also somehow make a three-line loop into 255 lines.
  • Writing comments like “//I also don’t know what the following code does”
  • Extensive gotos

And imagine you are asked to cleanup the code…

So don’t do things that your successors would complain.

About Sheng Jiang 蒋晟

Microsoft MVP in Visual C , 2004- Forum moderator of the Visual C and .Net forums on CSDN Forum moderator of Chinese forums on Microsoft's MSDN forums
This entry was posted in Computers and Internet and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s