4 ms·
Looks like now you're seeing why it's an abomination ;)
by dataflow 5y ago
Looks like now you're seeing why it's an abomination ;)
- DangitBobby 5y agoIMO the real abomination was already present in the language, which is that if blocks do not introduce new scope. My IDE protects me from the bugs this could easily introduce when I try to use a variable that may not yet be in scope, but it should be detected before runtime. I will readily admit that the walrus operator doesn't do what I thought it did and I have no interest in whatever utility it provides as it exists today.
- dataflow 5y ago> IMO the real abomination was already present in the language, which is that if blocks do not introduce new scope. Definitely. You would think if they're going to undermine decades of their own philosophy, they would instead introduce variable declarations and actually help mitigate some bugs in the process.