&is_ready is better than &ready for the same function,&canonize as a void function (procedure),
&canonical_version as a value-returning function, and &is_canonical for
a boolean check.&abc2xyz and &abc_to_xyz forms are also well established
for conversion functions or hash mappings.
GOOD:
%color = ('apple' => 'red', 'banana' => 'yellow');
print $color{'apple'}; # Prints `red'
BAD:
%fruit = ('apple' => 'red', 'banana' => 'yellow');
print $fruit{'apple'}; # Prints `red'
Forward to Length of Variable Names
Back to On the Naming of Names (Form)
Up to index
Copyright © 1998, Tom Christiansen
All rights reserved.