4 ms·
One key thing that I found when learning to code mostly from actual books and online tutorials (well before AI), was to always re-type the code examples by hand
by mikeocool 2y ago
One key thing that I found when learning to code mostly from actual books and online tutorials (well before AI), was to always re-type the code examples by hand instead of just reading them or copy-pasting them. If just reading the code is always miss a bunch of details, that id see when retyping.
I tend to do the same thing when using AI to explore something at edge of my knowledge, where I don’t know exactly what I just asked the AI to code. I ask it how to solve a general problem of the class I’m trying to solve, and the retype that code as I’m fitting it into my specific use case. I find that helps me much better understand what the AI generated code is doing, which comes in handy when it doesn’t work as described or goes wrong.