in reply to Re: Improve readability of Perl code. Naming reference variables.
in thread Improve readability of Perl code. Naming reference variables.
Yeah. I completely agree with you with the idea of keeping subroutines or code blocks
small. It is also my experience that this coding style (that you propose) has potential for
eliminating most readability issues. So the naming issue can usually
be circumvented using proper naming of variables and keeping the scope small.
But it's also my experience that in some cases it would still be beneficial to
have the option to further document the type of a reference variable.
In Section
Meditations