• kameecoding@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    well I have started using Github copilot for programming, it does some things well and for example speeds up very well when I write unit tests because once you start with a pattern they are mostly repetitive with minor changes.

    Should I start charging less for my work?

    • realharo@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      once you start with a pattern they are mostly repetitive with minor changes

      Can’t you just turn those into a single parameterized test with the test cases described as data?

      • kameecoding@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 year ago

        I mean of course if there is only a given set of variables that changes test-to-test then I do that.

        But I meant tests, that are really similar, but the variable that changes or combination of changes is varied enough that you can’t parametrize it.

      • Pantoffel@feddit.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Some things you also shouldn’t parameterize for the sake of overview and intuitiveness in understand.