5 ms·
It's containerized and I have a script that takes care of everything from the ground up :) I've tested this on multiple OS' and friends computers. I'm thankful
by MarcelOlsz 2y ago
It's containerized and I have a script that takes care of everything from the ground up :) I've tested this on multiple OS' and friends computers. I'm thankful to old me for writing a readme for current me lol.
>Please tell me this is satire.
No. I started doing TDD. It's fun to think about a piece of functionality, write out some tests, and then slowly make it pass. Removes a lot of cognitive load for me and serves as a micro todo. It's also nice that when you're working and think of something to add, you can just write out a quick test for it and add it to kanban later.
I can't tell you how many times I've worked on projects that are gigantic in complexity and don't do any testing, or use typescript, or both. You're always like 25% paranoid about everything you do and it's the worst.
- sarchertech 2y ago>It's a huge motivator actually to 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. Yeah that’s not TDD.
- MarcelOlsz 2y agoDon't you have a book to get to writing instead of leaving useless comments? Haha.
- sarchertech 2y agoMore 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.
- MarcelOlsz 2y agoLike 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.
- sarchertech 2y agoYour 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.
- MarcelOlsz 2y agoSure if you want to take the absolute least charitable interpretation of what I said lol.
- sarchertech 2y ago“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.
- MarcelOlsz 2y agoOk you win.
- sarchertech 2y agoThanks