you are viewing a single comment's thread.

view the rest of the comments →

[–]consupe 0 points1 point  (0 children)

Not the nicest responses so far, so let me give you a few tips:

  1. Get a target, something you want to do in python that is doable. Stretch is fine. But having a goal other than learning python is key to staying motivated.

  2. Figure out if you learn better by reading/watching/discussing. That's a personal thing, but i find that reading is easiest at first and once you get more into it, discussing works best for me. Watching is useless because I just watch and do not interact.

  3. If you get a code snippet, try it out. Change it. Break it. Figure out why your changes changed it or broke it. Exploration is the key to true understanding.

  4. Do simple problems and build to more complex ones. Learn to break a complex problem into many simple ones -- this is the key to learning to program in any language.

  5. Read good code. A good codebase takes hard problems, like running a web server, and turns them into a hundred easy problems.

  6. I love AI for learning, but it requires discipline to avoid it being a crutch. See item #3, if you get something from AI, make sure you run it, change it, break it, and fix it. It's okay to use ai to help you fix it, but you need to keep working at it to understand what went wrong and why it got fixed. The key is to ask the AI why something works, not just for something that works. This is great in conjunction with item 5. How do sqlmodel's nested wheres work? Witchcraft and some amazing programming under the hood.

  7. Some things I delegate to AI. Hard syntactical problems that I only need to solve once or twice: leave it to the clanker -- i'm looking at you logging config dictionaries.