Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Hashes... Light switch isn't coming on

by muba (Priest)
on Dec 12, 2012 at 18:22 UTC ( #1008553=note: print w/ replies, xml ) Need Help??


in reply to Re: Hashes... Light switch isn't coming on
in thread Hashes... Light switch isn't coming on

Note that a pointer is not the same as a reference. A pointer points to a memory location where a value might be stored, whereas a reference —at least in Perl parlance— points to a value.


Comment on Re^2: Hashes... Light switch isn't coming on
Re^3: Hashes... Light switch isn't coming on
by jethro (Monsignor) on Dec 13, 2012 at 12:41 UTC

    Wikipedia says

    While "pointer" has been used to refer to references in general, it more properly applies to data structures whose interface explicitly allows the pointer to be manipulated (arithmetically via pointer arithmetic) as a memory address...

    So, while you are correct that there is a subtle difference between those words, in a language where low-level pointers don't exist it should be obvious that pointer is an alias for reference

    But thanks for the info, I wasn't really aware of the distinction

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2014-07-24 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls