3 ms·
By that same logic we should not write multithreaded code, ever. It is still a good idea to strive for code where wrong things look wrong (which largely require
by MauranKilom 7y ago
By that same logic we should not write multithreaded code, ever. It is still a good idea to strive for code where wrong things look wrong (which largely requires collocation), but you can't put that above everything else.
- couchand 7y agoI'm not sure I follow. Sure, we shouldn't just have threads blindly working from the same memory, but it seems perfectly reasonable to use tools like Go channels or MPSC queues to write sane code.