3 ms·
for all of these same issues, using a decent editor and a linter saves approximately the same amount of work. every time this discussion comes up, it's clear t
by ledauphin 7y ago
for all of these same issues, using a decent editor and a linter saves approximately the same amount of work.
every time this discussion comes up, it's clear that people simply aren't willing to accept that this is a solvable problem, despite the many people who always come out of the woodwork to insist that we've solved it. Is it really that hard to accept that someone out there may have solved something you haven't?
- smt88 7y agoAs people have said in other comments, no static analysis can read your mind. You can have valid Python that contains logic errors due to indentation mistakes, and you can only catch it at runtime. Period. That said, everything is a trade-off. Semantic whitespace has downsides, but if the upsides outweigh, then it's a great idea. At this point, I have no idea what the upsides are, other than saving a few keystrokes (which truly is solvable with a good editor). It's like removing the ending semicolon in JavaScript. Sure, it almost never causes a problem, but sometimes it does, so why do it?
- kstrauser 7y agogotofail (https://www.imperialviolet.org/2014/02/22/applebug.html https://www.imperialviolet.org/2014/02/22/applebug.html) was written in C with brackets and everything.