Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: I want you to convince me to learn Perl

by soonix (Curate)
on Nov 24, 2013 at 09:57 UTC ( #1064109=note: print w/ replies, xml ) Need Help??


in reply to Re^3: I want you to convince me to learn Perl
in thread I want you to convince me to learn Perl

well, one of my first languages was Pascal, where you have to tell your subroutines whether they get their parameters by value or by reference. That possybly had made me more aware of this one.
Which means, when I use sort, I have to pause thinking about whether it modifies in-place (Python) or returns a sorted copy (Perl)...

Update:

copied by reference
is just plain wrong terminology. References are used to avoid copying.
Don't even think in such terms! That impedes yourself, and then no wonder you're puzzled... regardless in which language you program.


Comment on Re^4: I want you to convince me to learn Perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-09-19 22:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls