|
|
|
|
|
by viraptor
5169 days ago
|
|
That is exactly what I meant - this is a synthetic example. The article has synthetic examples. People want code blocks, but no one is really showing why. Own control structures are cool, ok, but what are you trying to solve with them? Where are the real, convincing before and after examples that are not easily solvable otherwise? |
|
So this line basically creates a thread pool with 10 threads, all infinitely executing the given code block.
How would you solve this in Python?