3 ms·
I'm finding that although golang offers type safety it introduces a new kind of error class to applications typically not encountered in web apps of the python/
by crimsonalucard 8y ago
I'm finding that although golang offers type safety it introduces a new kind of error class to applications typically not encountered in web apps of the python/php/ruby/node class.
Deadlocks and race conditions.
For node, the entire app is a single thread so this just doesn't happen. For python/php/ruby concurrency is abstracted away and handled above the framework layer so the programmer never has to deal with it. You can launch threads in a route handler for these languages but it's not often done and you have nothing like a context object that is basically this abstraction leak that explicitly forces the programmer to constantly be aware of concurrency issues.