4 ms·
I disagree... I came for the syntax and readability; I've stayed for the community.
by alexchamberlain 8y ago
I disagree... I came for the syntax and readability; I've stayed for the community.
- JasonFruit 8y agoI suppose I like the readability too, but there are a number of things about the language I would rather had been done differently; I still insist that its approach to scope is worse than any choice except making everything global.
- alexchamberlain 8y agoI tend to recommend people refavtor their functions into smaller ones if scope is not clear, but I accept it's different from many of its predecessors.
- AlexCoventry 8y agoIf the local/ global scooping rules are hurting you that much, you are probably putting more state in module-level variables than is healthy.
- JasonFruit 8y agoIt's not that: it's the hobbled function scope that doesn't handle nested functions the way I would expect and hope.