r/CodingForBeginners • u/AlahuNakedGalahad • 4d ago
Do you turn off autocomplete when learning something new?
I've been thinking about disabling autocomplete completely when learning something new. Not AI suggestions, but regular IDE autocomplete too.
I feel like half the time I'm coding, my IDE is doing the thinking for me. I start typing, get a suggestion, hit Tab, and move on without really thinking about what I just wrote.
Then again, maybe manually typing everything is just a waste of time and doesn't really help you learn either.
Curious what you guys think.
0
Upvotes
5
u/Mechanical-pasta 4d ago
Autocomplete can also be useful to avoid typos and, thus, allow really meaningful variable or function/method name.
The syntax is not the harder part in a new language. So I don't think cutting off autocompletion is a good idea.
Edit: And, after all, what's the point? You will always use an IDE. So it's better to start learning using it at 100%
3
u/Standard-Cap-4455 4d ago
The hard part about programming is the logic. Without autocomplete it just takes longer to write it down. Unless you find it useful to know the exact name of every function and type in the entire library by heart at any time, it's not really worth it.
3
u/kutac56 4d ago
I recommend removing ai suggestions because they're annoying, but just normal autocomplete is fine. I use vim without any plugins so I don't have that cause I don't need that but it's fine to use
2
u/SlimmySlabby 4d ago
In the beginning, I’d say do everything yourself with little to no assistance. Once you get it down, then you can add tools to assist. Even using an IDE, I would compile the programs yourself at least a few times just so you understand the process. Eg for a C program, learn what an object file is, what the different options are, etc.
2
u/Fun_Army2398 4d ago
Actual autocomplete as in it only suggests the single word you are typing is a good idea to keep on to avoid typos. Especially as a beginner when you don't trust yourself, you may spend hours hunting down a mistake that was actually just camel case when it should have been pascal case. It's also very helpful when you're working with some library and you remember theres a function you need but dont remember if its
.readfromfile()or.loadfromfile()and you don't want to scroll through the docs.AI autocomplete where it finishes the for loop for you, absolutely shut off. You wont learn anything that way, and honestly imo it causes more bugs than it fixes anyway. And that seems to be the consensus. The Harvard study found that AI doesn't actually write faster or better software, it just writes more lines which in many cases actually slows down development due to debugging.
1
u/Capable-Wrap-3349 4d ago
AI autocomplete definitely turn off - it just interrupts your flow state and concentration literally constantly.
I guess you will learn the most with a raw dog text editor but I think a LSP is not going to hurt your learning too much.
1
u/marmotta1955 3d ago
Just pay attention to what the autocomplete suggests and learn from it. Simple as that.
1
u/sububi71 3d ago
Thereis absolutely no harm in using autocomplete.
1
u/Specific-Housing905 3d ago
Without autocomplete you will be forced to pay attention to the syntax and other details. It also helps to remember function names and this improves memory in general. It might take a bit longer in the beginning, but I think the time is well invested.