Comment

Comment by BiteCode_dev

I agree totally with that, it's an ugly trap in python, although mitigated by the fact the language doesn't encourage this kind of paradigm so you rarely encounter it.

But more absurd than creating a global variable if you forget "var/let/const" ? More absurd than "this" being schizophrenic ? More absurd than having no namespace for 20 years ?

That's pushing it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton