Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Check your CPAN modules for use vars (identifiers)

by hippo (Bishop)
on Jun 27, 2018 at 08:33 UTC ( [id://1217489]=note: print w/replies, xml ) Need Help??


in reply to Re: Check your CPAN modules for use vars
in thread Check your CPAN modules for use vars

Completely agree. tchrist's Style Guide has this to say on the subject and includes this absolute gem from Dominus:

The appropriate length of a name is directly proportional to the size of its scope.

which, together with tchrist's philosophy that clarity trumps length (to which I also subscribe) I think sums it up nicely. It's also worth pointing out for completeness that such matters of style apply to any names in source: subs, packages, constants, variables, etc.

It's fair to say that this advice is perfectly generic and applicable not just to Perl.

  • Comment on Re^2: Check your CPAN modules for use vars (identifiers)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1217489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found