Geoff Steckel wrote:
IMnsHO, threads should never be used unless absolutely necessary. They
are very bad software practice:
they share data and resources in uncontrolled ways
It's controlled by the code you write.
they encode state implicitly in the program counters of the threads
The hell?
they are extremely difficult to guard against external conditions
such as unexpected incoming data
Incoming from where?
complete and correct error recovery requires complex and error prone
code
Welcome to "non-trivial software development."
--
Matthew Weigel
hacker
unique & idempot.ent