Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

RE: My philosophy on coding (in Perl and other languages):

by turnstep (Parson)
on Aug 12, 2000 at 04:33 UTC ( [id://27593]=note: print w/replies, xml ) Need Help??


in reply to My philosophy on coding (in Perl and other languages):

I agree with all except for the first point. I don't know if references are "cool", but they are an excellent way to pass data around in your program efficiently, as well as a great way to build complicated data structures. (this applies to Perl, not the other languages :)

  • Comment on RE: My philosophy on coding (in Perl and other languages):

Replies are listed 'Best First'.
RE: RE: My philosophy on coding (in Perl and other languages):
by mrmick (Curate) on Aug 12, 2000 at 06:14 UTC
    I've actually seen instances where people have used references just for the sake of using them. I'm sure that using a simple reference to a scalar in the same block is adding more overhead than is necessary.

    Don't get me wrong, though. I do understand the usefulness of a reference in such things as nested data structures and for passing data between subs and whatnot. I just object to using one where it's not needed.

    Mick

Log In?
Username:
Password:

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

    No recent polls found