• 0 Posts
  • 18 Comments
Joined 1 year 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
    ·
    7 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