python "nonlocal" is such a hack.

proves to me that a modern language needs variable declarations. they don't have to be long-winded but they do have to be explicit.

Follow

@robey I don’t do much python so I literally only discovered yesterday how python implements “lexical” scoping and I just can’t even

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko