New Poll – Commenting Your Code

By | April 18, 2013 | Polls | 538 | 1

Commenting the code is another important part of developing any software or writing any code module.

New Poll

Many times, I find programs, Methods, FMs, with various degree of comments. Few of the programs would have very detailed comments, which makes very easy to understand the code line-by-line. On the other hand, you won’t find even a single line with gray color means no comment at all.

The poll is available in the sidebar asks an question:

Commenting Your Code

The options are:

  • All IN – I write multi-line comments for each code line along with half line comments for each field. Select this if you write more comment lines than actual code
  • Safe bet – I write multi-line comments for a code block. Occasionally use half line comments. This could be your option if you write comments before each IF, LOOP, CALL FM blocks.
  • Defensive bet – I only write the comment when I feel code is important
  • Too Little – I only mention single line in beginning of the code module
  • Blind play – I don’t like to comment code. My code is very easy to understand, you know.

I’ll collect the results in next few weeks and publish.

Like It? Share!!

Don't miss an Update

Get notified of the new post, right into your inbox

Naimesh Patel{272 articles}

I'm SAP ABAP Consultant for more than a decade. I like to experiment with ABAP especially OO. I have been SDN Top Contributor.
Follow :

Explore all of his 272 articles.

Load comments

1 Comment

  • I like to write comments where necessary and also not revealing the whole logic… I leave a little Brian work for the next developer too :)

Comments on this Post are now closed. If you have something important to share, you can always contact me.

You seem to be new here. Subscribe to stay connected.