• 0 Posts
  • 32 Comments
Joined 9 months ago
cake
Cake day: January 2nd, 2024

help-circle









  • iarigby@lemmy.worldtoProgrammer Humor@lemmy.mlGot no time to code
    link
    fedilink
    arrow-up
    11
    arrow-down
    3
    ·
    3 months ago

    Also, tests ARE THE code, and equally important too! However so many people make the mistake of writing tests after the function, when the benefit is less immediate. They also have the illusion that they are done and have to do extra work. And since they didn’t write the test first, they most likely wasted a ton of time and energy on extra work of testing changes manually








  • the can’t add proper typing without adding a compiler. Whatever they add will be closer to puthon’s type hints. I’ve had to write primary in python lately and type hints help very very slightly, and tools like pyright catch so many false errors due to lack of hints in libraries that we’re forced to add ignore statements on too many lines. I genuinely don’t understand how there can be so many languages and all of them be painful to use




  • iarigby@lemmy.worldtoAsklemmy@lemmy.mlInsomnia
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    yes, all of that are very important as well. Sometimes I think about how exhausting it is to follow all these, and try my best to forget about the fear of not falling asleep when going to bed. I’ve noticed that overcoming that psychological “surrender” had a big impact on nights where I experience some problems - it’s important to keep calm and not spiral. But damn, it’s hard living like this.