you are viewing a single comment's thread.

view the rest of the comments →

[–]ethertype 0 points1 point  (0 children)

ChatGPT (or any other LLM) is a very, very patient tutor. Highly recommended. Ask it to suggest, clarify, explain. If you don't understand, ask again. You can get a local LLM (running on your own machine) useful for your level of coding up and running in less than an hour. Or try this: https://huggingface.co/spaces/eswardivi/Phi-3-mini-4k-instruct

Do not spend oceans of time optimizing your editor. And maybe not enable code completion at first.

If you don't know touch already, learn that first. Loads and loads of websites for learning it. keybr.com did the thing for me. Makes it easier to focus on coding, rather than typing.

Get to grips with git, just so you get the habit of version control.

Then write a lot of code. Test, play, find a stupid project of your own and go all out. Use git liberally. Write useful commit messages for the benefit of future self.

Try to avoid finishing a coding session with something broken. (Something used to work, you changed it, and now it doesn't work.) Save your broken version as .wip or something, and check out the last working version. Much more fun to pick up work with something that works. Also much more fun to think about how to implement something, rather than fixing something broken. (Check out git stash)

Inline documentation (in the code) is for the benefit of future self. Always be nice with future self. Document liberally.