3 ms·
> Global mutable state is everywhere Agreed 100%. This practice pushed me out into Rust/Go and I don't see myself returning unless corrections are made. I str
by rails_defector 3y ago
> Global mutable state is everywhere
Agreed 100%. This practice pushed me out into Rust/Go and I don't see myself returning unless corrections are made.
I strongly believe Shopify, Stripe, Rails need to come together and eradicate this blight from the ecosystem if they wish to see new adoption. No other ecosystem finds this acceptable behavior and is actively discouraged.
- jupp0r 3y agoThe inevitable move to support concurrency via Fibers will be a forcing function for this. With the state of the ecosystem I don't know if all the libraries in your transitive dependency hierarchy will ever get rid of their globals though. If not, you'll have funny race conditions between multiple Fibers in external libraries to debug forever.