News for hackers. Stuff that matters.
Re:AI Makes Tech Debt More Expensive by sarchertech on Friday November 15, 2024 @07:10AM (#42146183)
More importantly I have a French cleat wall to finish, a Christmas present to make for my wife, and a toddler and infant to keep from killing themselves.

But I also have a day job and I can’t even begin to imagine how much extra work someone doing “TDD” by writing a function and then fixing it in place with a whole suite of generated tests would cause me.

I’m fine with TDD. I do it myself fairly often. I also go back in and delete the tests that I used to build it that aren’t actually going to be useful a year from now.

Re:AI Makes Tech Debt More Expensive by MarcelOlsz on Friday November 15, 2024 @07:59AM (#42146498)
Like I said above, I like the ability to scaffold tests using english and tweaking from there. I'm still not sure what point you're trying to make.
Re:AI Makes Tech Debt More Expensive by sarchertech on Friday November 15, 2024 @11:06AM (#42148139)
Your original point was that it was great to “write some code then send it to the LLM to create tests.”

That’s not test driven development.

Re:AI Makes Tech Debt More Expensive by MarcelOlsz on Friday November 15, 2024 @04:05PM (#42151036)
If you want to take the absolute least charitable interpretation of what I said and lambast me for it, sure.
Re:AI Makes Tech Debt More Expensive by sarchertech on Saturday November 16, 2024 @08:54PM (#42161327)
“write a piece of code with the reward being the ability to send it to the LLM to create some tests and then seeing a nice stream of green checkmarks”

You write code, then you send the code to the LLM to create tests for you.

How can this possibly be interpreted to mean the reverse?

That you write tests first by asking the LLM in English to help you without “sending the code” you wrote because you haven’t written it yet. Then you use those tests to help you write the code.

Now if you misspoke then my comment isn’t relevant to your situation, but don’t pretend that I somehow interpreted what you said uncharitably. There’s no other way to interpret it.

Re:AI Makes Tech Debt More Expensive by MarcelOlsz on Sunday November 17, 2024 @12:35PM (#42165498)
Ok you win.
Re:AI Makes Tech Debt More Expensive by sarchertech on Sunday November 17, 2024 @01:36PM (#42165933)
Thanks