Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: Trying to Understand the Discouragement of Threads

by Anonymous Monk
on Nov 18, 2014 at 07:28 UTC ( [id://1107545]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Trying to Understand the Discouragement of Threads
in thread Trying to Understand the Discouragement of Threads

Well see Re^2: Splitting large array for threads. and follow deep, basically using threads has caveats so we'll misuse the "discouraged" label ... dumb
  • Comment on Re^5: Trying to Understand the Discouragement of Threads

Replies are listed 'Best First'.
Re^6: Trying to Understand the Discouragement of Threads
by benwills (Sexton) on Nov 18, 2014 at 07:45 UTC

    Interesting. If it's because they're harder and more confusing than other solutions, that's unfortunate they would respond they way they did. Especially because, if you follow the link to what "discouraged" means, it says:

    "From time to time, we may mark language constructs and features which we consider to have been mistakes as discouraged. Discouraged features aren't currently candidates for removal, but we may later deprecate them if they're found to stand in the way of a significant improvement to the Perl core.

    When I read that, it sounded to me like threads were possibly going to be making an exit from perl. If they had said "look...these are hard to do well," it could have saved me a lot of confusion and running around. I think I also don't understand why the time and energy that goes into that whole process of getting that into the documentation doesn't go to better informing and teaching others the best/right way to use them if they are, in fact, often the better solution. But I guess that's a philosophical difference.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found