Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Array of variables

by chromatic (Archbishop)
on May 28, 2013 at 21:40 UTC ( [id://1035741]=note: print w/replies, xml ) Need Help??


in reply to Re: Array of variables
in thread Array of variables

I'm sorry, but I downvoted this because I think its really unhelpful. Parts of it are wrong and other parts are misleading—but I'm also getting a headache trying to read it.

Could you please elide the random typography? I feel like you're trying to communicate something but it's getting lost along the way.

Replies are listed 'Best First'.
Re^3: Array of variables
by Grimy (Pilgrim) on May 28, 2013 at 23:44 UTC

    Are you seriously criticizing him for using proper typography? We’re living in the 21st century, for Larry’s sake. Unicode is everywhere; we no longer have to use typewriter quotes or ASCII equivalences (e.g. ... instead of …).

    Could you please elaborate on what parts of the post you think are wrong or misleading?

      Are you seriously criticizing him for using proper typography?

      No; I used the word "random" with deliberation.

      Could you please elaborate on what parts of the post you think are wrong or misleading?

      The idea that the OP needs to read about references right away gives an urgency I think is misleading. The OP's question seems more about Perl's notion of container and value semantics than references.

      The idea that a reference can refer to the value of a variable is technically true, but I think that's also misleading, again due to Perl's notion of container and value semantics.

      Perl's garbage collection mechanism does not rely on references at the language level. Perl's memory management occurs at the SV level, which is how an RV participates in memory management. That distinction is probably irrelevant at every level for the OP, but getting the details of that backwards seems seriously misleading.

      The idea that Perl goes to great lengths to interpret what you mean by references is dangerously misleading; it's true in certain cases of autovivification, but if you look at Perl 5.16 and the mess that is sigilless each, you'll see that taking that idea too far is out of character of the rest of the language. Polymorphic operators are a mistake with smartmatch and they're a mistake with sigilless aggregate operators too; you don't even have typeful semantic operator hints as a reader of the code.

      Claiming that the terms "arrayref" and "hashref" refer to nested data structures is misleading. I think sundialsvc didn't intend to claim this, but I admit I don't understand what he was trying to say there.

        Polymorphic operators are a mistake with smartmatch and they're a mistake with sigilless aggregate operators too; you don't even have typeful semantic operator hints as a reader of the code.

        It is time to fork Perl.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found