News for hackers. Stuff that matters.
Re:We Need Programming Mentors by hsn915 on Saturday February 11, 2023 @06:59AM (#34751578)
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.

Re:We Need Programming Mentors by jameshart on Saturday February 11, 2023 @09:13AM (#34752415)
But 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.

Re:We Need Programming Mentors by hsn915 on Sunday February 12, 2023 @04:01AM (#34761246)
On 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.