So I’m an on/off noobie but have been focusing on actually sticking with programming what I’ve been working on is Python but this question is for programming in general. For me it’s hard but I want to see how I can get better

Like are these good ways to get good:

Follow tutorials, then work on ways of adding your own twists or changes? Or trying to code it in something else?

Work on assignments from a resource you’re using like in my case Python Crash Course and attempt to redo the assignments without looking back?

Experiment with multiple libraries and library methods or built in methods?

Please share any other ways especially ones that helped you

Also when would be good to start a new language after learning one

  • magic_lobster_party@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    11 days ago

    Dedicate yourself with a more long term project (1+ months). I think the best way to learn is through the pain that comes with larger code bases.

    Start small. Add more and more features. If there’s something you don’t know how to make, find a tutorial or a guide and make it work with your project.

    Eventually you’ll discover pain points in your project. The feature you want to make doesn’t fit well with your current code. This is good time to learn from your previous mistakes and adapt your old code for the better (refactoring).

    Over time you’ll learn more and more techniques to write code that can grow. You’ll see for yourself why some coding styles are considered bad and why some are better. This is difficult to see just by working with short term weekend scripts.

    Don’t worry about failing. No one writes ”perfect” code. You’ll learn from your mistakes.