Login
Describe policy for enforcing correct spelling of variable names.
authorJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Sun, 27 Jul 2008 23:30:53 +0000 (23:30 +0000)
committerJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Sun, 27 Jul 2008 23:30:53 +0000 (23:30 +0000)
This all got started here: http://rt.cpan.org/Ticket/Display.html?id=37899

TODO.pod

index 25315aa..767d379 100644 (file)
--- a/TODO.pod
+++ b/TODO.pod
@@ -214,6 +214,15 @@ Check for -w on the shbang line.
 
 =over
 
+=item * NamingConventions::ProhibitMisspelledSymbolNames
+
+The idea behind this policy is to encourage better names for variables
+and subroutines by enforcing correct spelling and prohibiting the use of
+home-grown abbreviations.  Assumng that the author uses underscores or
+camel-case, it should be possible to split symbols into words, and then look
+them up in a dictionary (see PodSpelling).  This policy should probably have
+a similar stopwords feature as well.
+
 =item * Documentation::RequireModuleAbstract
 
 Require a C<=head1 NAME> POD section with content that matches