http://qs321.pair.com?node_id=1107552


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