Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: the "@" indicates plural hence "s" is redundant

by adrianh (Chancellor)
on Oct 31, 2002 at 18:04 UTC ( [id://209465]=note: print w/replies, xml ) Need Help??


in reply to Re^2: the "@" indicates plural hence "s" is redundant
in thread the "@" indicates plural hence "s" is redundant

I have to admit that ReallyHardToReadStyleForLongNames or much_easier_to_read_style_even_for_long_names - indeed anything much bigger than slightly_long_name - are on my personal list of Code Smells.

A variable name that's that long tends to indicate to me that there is some piece of abstraction that I'm missing.

(oh yes, I prefer "_" too :-)

Replies are listed 'Best First'.
Re^4: the "@" indicates plural hence "s" is redundant
by Aristotle (Chancellor) on Oct 31, 2002 at 18:24 UTC
    True enough, and I generally don't tend to have more than two underscores in identifiers either. But should the name get long, as it sometimes does, it remains readable, though granted it doesn't happen often.

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://209465]
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: (4)
As of 2024-04-24 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found