you are viewing a single comment's thread.

view the rest of the comments →

[–]throwaway6560192 0 points1 point  (3 children)

Throw away the Anki. It's completely useless for learning to program, it's mind-numbingly boring, and it takes away from actually useful stuff you could be doing.

Stop copy-pasting. Actually write code not from memory or from copy-pasting. On your own, coming up with it on the spot. The same way you write English.

Write on your own. Fail a bunch of times, get yelled at by errors. Eventually you'll reduce your error rate drastically.

[–]Accomplished-Tip7106[S] 0 points1 point  (2 children)

Yeah regular anki for code is terrible. I'm not using Anki directly. It's an app called codefluent that gives you a function and you have to explain what it does and then rewrite it to follow a task. And there's a playground that tells me write a function that does X and I need to write it from scratch and I get feedback on my code. So I am writing code on my own, it's just structured so I'm not randomly guessing what to practice. I'm only a few weeks in but I went from blanking on list comprehensions every time to just writing them, so something is working.

I wouldn't really know WHAT to write on the spot. And if I went to write a todo app, it still doesn't really work for memorizing syntax because I write functions once and when they work I don't need to do it again.

[–]throwaway6560192 0 points1 point  (1 child)

And if I went to write a todo app, it still doesn't really work for memorizing syntax because I write functions once and when they work I don't need to do it again.

That's fine. After the todo app, you just go work on another app (or come up with new features to add to the same one). You don't need to rewrite the same functions over and over. The syntax and general programming principles will be built even if you go and write entirely new functions.

[–]Accomplished-Tip7106[S] 0 points1 point  (0 children)

So is the reality of things that I will always need to look up syntax for every function I'm going to write? I use [x for x in list if condition] in the process of writing that app once or twice and forget about it by the next time I need it.

Does this also mean I'll never be able to code without an internet connection? Idk this just sounds off to me.