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.

Advertisement

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.