3 ms·
The point (when you take my comment in context) is that it doesn't matter if your editor does not detect typos, because the compiler will. Now, I admit, I find
by hsn915 4y ago
The point (when you take my comment in context) is that it doesn't matter if your editor does not detect typos, because the compiler will.
Now, I admit, I find programming with autocomplete more productive in general, but the compiler (and the compile time type checking mechanism) is still indispensible.
- jameshart 4y agoBut using a basic text editor without even syntax highlighting, together with a separate compiler, extends your feedback loop on typos and syntax errors and - in strong type systems - logic errors your type system can catch. Sure, I don’t have to run the program to find the fault - but I have to run the compiler. And then parse its output and find the line it’s telling me about. In an IDE, such feedback can be immediate, in place, and point me to the symbol where the error is evident.
- hsn915 4y agoOn the other hand, autocomplete interferes with your thought process and makes you used to not having "long" programming thoughts: you can only think one word at a time. I'm personally not there yet, but the way I've seen advanced programs write code is more akin to writing whole paragraphs at once and then relying on the compiler to catch any typos or similar trivial mistakes.