Comment

Comment by the_mitsuhiko

I wrote about this many years ago and I think my conclusions back then are still valid: http://lucumr.pocoo.org/2009/7/24/singletons-and-their-probl...

Turns out other languages have evolved in the mean time and came up with much better solutions. In particular with dynamic languages ES6 modules in combination with npm's approach to package dependency management is the current benchmark. ES6 exposes bindings instead of values which solves a ton of issues that Python will never be able to fix with it's import system.

parent the_mitsuhiko 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton