• @[email protected]
    link
    fedilink
    2166 months ago

    See your problem is you’re editing the code until it passes the tests. It’s way easier if you edit the tests until it passes the code.

    • TragicNotCute
      link
      English
      1086 months ago

      This is what they mean by test driven development.

    • @[email protected]
      link
      fedilink
      356 months ago

      Can’t tell if you are joking. I know a lot of junior developers who think this is a legitimate solution.

    • @[email protected]
      link
      fedilink
      236 months ago

      Unless you are using groovy (jenkins), then you are running the pipeline to find syntax errors.

      • Johanno
        link
        fedilink
        56 months ago

        I hate groovy, gradle and Jenkins!

        I don’t know if sth. Else is better but I can confirm that shit is horrific

          • Johanno
            link
            fedilink
            06 months ago

            Horrible scripting language. Even worse than python. Close to Javascript

            • @[email protected]
              link
              fedilink
              46 months ago

              If you don’t think Python is a good scripting language, what is a good scripting language in your opinion? Bourne Shell? VBScript? PHP?

              • Johanno
                link
                fedilink
                26 months ago

                I like python and if you use typing it is awesome.

                I like kotlin script too. But normal languages are better than scripting languages usually.

                • @[email protected]
                  link
                  fedilink
                  2
                  edit-2
                  6 months ago

                  Typing in python leaves a lot to be desired… Being looking at peps for quite some time, but it’s really hard for the language to make progress without breaking compatibility.

                  Hopefully at some point MOJO becomes mature enough to use in a professional setting.

          • Tekhne
            link
            fedilink
            16 months ago

            I use Jenkins for work, unfortunately, so I have plenty of experience

        • @Ackward
          link
          16 months ago

          Only for declarative pipelines, forget it if you use scripted ones.