The flowchart diagrams offer a nice graphics for the
return statements and
this shape could be used. I decided to introduce one improvement to the shape - to add an icon
on the left. The icon serves the purpose of catching the
return statements even at a
brief glance at a diagram and I consider this as an important touch. The
statements affect the control flow heavily.
As usual, a return expression could occupy many lines and some comments could be supplied. The second example covers this case.