I don't think threads are that hard if you're in a language that provides the right tools and has relative few footguns (e.g. Java) In Python or C++ God help you.
Even in Java you have to stick to java.util.concurrent, avoid synchronized and use Executors whenever you can.
PaulHoule•7h ago
Even in Java you have to stick to java.util.concurrent, avoid synchronized and use Executors whenever you can.