• jtrek@startrek.website
    link
    fedilink
    arrow-up
    16
    ·
    23 hours ago

    I don’t understand why people dislike tests. They don’t take that long and you need to check things anyway.

    Well, I say that, and then I think of my coworkers that don’t write tests and also push up code with syntax errors. Code that they clearly never even ran themselves.

    • Batman@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      18 hours ago

      My problem is my coworkers always misinterpret my reasons for writing tests. they think i must want to make an artisimal work of art, or they think I’m challenging them in some way. in the PR they don’t take the scope of the project into account and start pitching to my boss edge cases i didn’t test for. is it an organizational problem, sure. but tests are not written into a proposal and are billed as engineering hours. get it working and ship it it’s our business model, making tests a niceity.

      /rant

      • jtrek@startrek.website
        link
        fedilink
        arrow-up
        2
        ·
        18 hours ago

        or they think I’m challenging them in some way

        Admittedly, there is a bit of

        Them: “It works”

        Me: “I don’t believe you. Prove it”

        that people might not like. But usually the people who take the most offense are the worst coders.

  • taiyang@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    21 hours ago

    I used to use ASCII art to mark sections in my statistical syntax. It’s not much but it made me happy when I got to show that to my advisor in grad school.