English


The side comments require to pay attention to a couple of things. The first is that there is usually a line correspondence between the comment and the statement. In this example the code author provided a comment for certain statements. Therefore the graphics representation must keep the line-to-line correspondence between a drawn code block and its side comment.

The second thing to consider is a tail of a side comment. Sometimes a side comment for the last block statement takes more than a single line as is in the example. The last comment line looks like an independent comment because it does not have a statement before the # character however the author wanted the comment to be for the last statement in the block. A criteria to consider the side comment continue could be as follows: