• @kameecoding@lemmy.world
    link
    fedilink
    English
    1010 months 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
      cake
      link
      fedilink
      English
      410 months 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
        610 months 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
        cake
        link
        fedilink
        English
        210 months ago

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