Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by hakonhagland (Scribe)
on Jan 21, 2017 at 08:49 UTC ( #1180073=note: print w/replies, xml ) Need Help??


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

Hello johngg.

Yes, it is shorter, but is it more readable? This also extends to the discussion of whether to use snake_case or camelCase. In my opinion camelCase is more succint (easier to type), whereas snake_case is more readable (but more difficult to type).

I also once used camelCase, so I can understand your choice. My main objection though is that the prefix syntax (that you propose) is not optional. See also comment to kcott for more information.

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2023-06-06 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (26 votes). Check out past polls.

    Notices?