Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Trying to Understand the Discouragement of Threads

by tobyink (Canon)
on Nov 18, 2014 at 09:36 UTC ( #1107552=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

"Combined with the "official" discouragement, it makes me wonder if there's a shorter shelf life for my code and if maybe I'm was just missing something."

Although the Perl documentation now discourages using threads for a variety of vague reasons, do note that the word discouraged was carefully chosen. In particular, the word deprecated was explicitly not used.

There are no plans to remove thread support from Perl in the foreseeable future.

  • 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 PetaMem (Priest) on May 06, 2015 at 09:05 UTC

    I've run into exactly that issue and asked in the Chatterbox where I was given a short explanation and a pointer to this discussion.

    I object about "discouraged" being a wise choice. IMO this discourages the not-so-newbies who know about perlpolicy and how to interpret it. If anything, newbies probably give less weight to it (out of sheer ignorance) or (willingly) do not care about potential long-term consequences.

    Having been burnt by the given-when deprecation fiasco, I was quite repelled by the mention of "officially discouraged" in threads and now I come to know that this particular formulation is just smoke and mirrors to repel "annoying newbies".

    Not good.

    Bye
     PetaMem
        All Perl:   MT, NLP, NLU

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-08-12 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?