in reply to RFC: Implementation of a QuadTree and worries of a lone programmer
I haven't looked in detail at the code, but I'd put the block comments into pod blocks. In the short term they are easier to edit and in the longer term there are nice tools for pulling the pod out into various documentation formats. Consider:
=head3 adjust_fillstate my $rects = adjust_fillstate( $quadrant_bit ); This function extracts all the non-overlapping rectangles in the tree, returning their coordinates separated by : in sets separated by |. =cut
which renders in HTML as:
adjust_fillstate
my $rects = adjust_fillstate( $quadrant_bit );This function extracts all the non-overlapping rectangles in the tree, returning their coordinates separated by : in sets separated by |.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Implementation of a QuadTree and worries of a lone programmer
by Xenofur (Monk) on Nov 08, 2008 at 10:55 UTC |