• 0 Posts
  • 72 Comments
Joined 2 months ago
cake
Cake day: February 22nd, 2026

help-circle







  • 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