Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Improve readability of Perl code. Naming reference variables.

by nysus (Parson)
on Feb 09, 2017 at 01:05 UTC ( [id://1181482]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Improve readability of Perl code. Naming reference variables.
in thread Improve readability of Perl code. Naming reference variables.

It's totally subjective. Whether warranted or not, camel case reminds me of Microsoft code. Underscores remind me of old school programming. I also think camel case is harder to read. Though camel case does take fewer keystrokes to execute. I'll give you that.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

  • Comment on Re^4: Improve readability of Perl code. Naming reference variables.

Replies are listed 'Best First'.
Re^5: Improve readability of Perl code. Naming reference variables.
by hippo (Archbishop) on Feb 09, 2017 at 08:46 UTC
    Though camel case does take fewer keystrokes to execute. I'll give you that.

    Only if your keyboard doesn't have a Useless Key™ which you've remapped to be a single-keystroke underscore. :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-09-20 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (26 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.