Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re(3): Of variable {mice} and its name {man}.

by theorbtwo (Prior)
on Jun 03, 2002 at 07:56 UTC ( [id://171162]=note: print w/replies, xml ) Need Help??


in reply to Re(3): Of variable {mice} and its name {man}.
in thread Of variable {mice} and its name {man}.

Refactor your names, too. Is it significant to the code that these are employees? If not, @names is a perfect name. @en is overshorting. @employee_names is overspecifing.

If it is significant to the code that these are empoyees you're naming, why? Does this mean that if you were dealing with customer names, the code would be completly inapproprate? Why?

Every character really does count. (Check how many different ways I've mistyped employee in this post, and how many you noticed being wrong.)


We are using here a powerful strategy of synthesis: wishful thinking. -- The Wizard Book

  • Comment on Re: Re(3): Of variable {mice} and its name {man}.

Replies are listed 'Best First'.
Re: Re: Re(3): Of variable {mice} and its name {man}.
by Dog and Pony (Priest) on Jun 03, 2002 at 09:51 UTC
    Check how many different ways I've mistyped employee in this post, and how many you noticed being wrong.
    Nothing that strict and warnings wouldn't handle.
    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.

      Right, but @names wouldn't have been mistyped in the first place. It's better to avoid errors then to fix them. (Given equvlent functionality.)


      We are using here a powerful strategy of synthesis: wishful thinking. -- The Wizard Book

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found