3 ms·
> It violates the longstanding Python rule that assignments don't escape the enclosing scope. But doesn't that violate the longstanding Python rule that A Fool
by smetj 6y ago
> It violates the longstanding Python rule that assignments don't escape the enclosing scope.
But doesn't that violate the longstanding Python rule that A Foolish Consistency is the Hobgoblin of Little Minds ?
- neolog 6y agoNo. Assignment leaking into enclosing scope is a bad idea.
- beforeolives 6y agoThe trick is tell when striving for consistensy is foolish and when it isn't. Otherwise you would always be able to fall back on this quote to justify creating unuseable code/frameworks/projects/languages.