Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^19: Hash order randomization is coming, are you ready?

by demerphq (Chancellor)
on Dec 04, 2012 at 21:38 UTC ( #1007160=note: print w/ replies, xml ) Need Help??


in reply to Re^18: Hash order randomization is coming, are you ready?
in thread Hash order randomization is coming, are you ready?

Your question supposes that this change actually breaks something. It doesn't. Any code that was correct in the first place, which makes no assumptions about the order of keys returned from a hash will continue to work just as well as it did before. Code that already was broken, albeit perhaps subtly, will now regularly fail.

While I am aware this will cause some temporary turbulence our community and the software we run will be the better for it.

---
$world=~s/war/peace/g


Comment on Re^19: Hash order randomization is coming, are you ready?
Re^20: Hash order randomization is coming, are you ready?
by BrowserUk (Pope) on Dec 05, 2012 at 00:43 UTC
    Your question supposes that this change actually breaks something. It doesn't.

    Oh. So this whole thread is predicated on the fact that this is a benign change that will not break any existing code.

    If you cannot see how ridiculous that statement is coming from the same author as started the thread ... there's no point in continuing.


    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.

    RIP Neil Armstrong

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-09-15 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls