3 ms·
Really? You're calling Python a messed up programming language because ten years ago it got lexical scoping? I don't know about Ruby, maybe it's had a rougher r
by devinj 16y ago
Really? You're calling Python a messed up programming language because ten years ago it got lexical scoping? I don't know about Ruby, maybe it's had a rougher road, but that's really the only scoping rule change Python got. It got an additional keyword -- nonlocal -- recently to allow you to rebind variables in outer scopes, but otherwise no change has been had since then. If this is a warning sign, what on earth am I supposed to be watching out for? What's this danger it's warning me against?
- deleted 16y ago[deleted]
- sprout 16y agoYou're taking this entirely too seriously. There is no such thing as a perfect language. Most flaws are features when looked at in the right light. And obviously the reverse is also true.
- devinj 16y agoI never said Python was perfect. I consider it seriously flawed in many respects. I'm not defending Python as a perfect language. I'm just saying this "flaw" doesn't make any sense as such. If you want to tell me that with some perspective it's a flaw, show me the perspective, because I'm not seeing it at all. It looks pretty ridiculous on my end.