I have a feeling I’m stuck in tutorial hell, and I need to start actually building things. But I don’t know where to start :/

Also I’m really bad at syntax. I only know concepts like for loops, while loops, if-elif-elses, etc…

So maybe something that helps me learn more about coding syntax would be helpful.

Thanks!

  • jtrek@startrek.website
    link
    fedilink
    arrow-up
    3
    ·
    8 hours ago

    I did some webdriver stuff for reasons I don’t remember anymore.

    I also made a simple Django app to track job applications.

    Unsolicited advice:

    • use type annotations. You’ll thank yourself later when your IDE tells you “hey this can be None are you sure you want to call .some_func() on it?”
    • use an ide. Don’t just raw dog it in notepad. You should have syntax highlighting, red squiggles for errors, the ability to go to definition.
    • learn to use a debugger. Pdb is built in and fine.
    • don’t write mega functions that do a thousand things. Split things up into smaller steps.
    • avoid side effects. You don’t want your “say_hello” function to also turn on the lights