a template of clown applying makeup meme with the following stages: 1. search does not work anymore, so I'm just gonna set up an llm on my hardware so I'm not dependent on anyone when I'm trying to replicate the stack overflow experience of my youth. 2. let me set up opencode in a sandbox, the ui is nice. oh no, local hardware runs too loud hmm, opencode comes with several free cloud models. 3. llms allow me to do so much more work! let me adjust my workflow so I'm mostly engineering the architecture and reviewing the code. writing is the easy part anyway 4. I'm not reviewing fast enough. let's just move to test-driven development. AI can write tests, code and do the reviews by itself.
you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 week ago (4 children)

Yes, we already have many techniques to squeeze working code out of drunk, new, or untalented engineers. These can be readily applied to LLMs.

But the fact is, there are a lot of very vocal engineers who are, bewilderingly, none of these three things, and so are not familiar with the arts.

  • source
  • parent
  • hideshow 4 child comments
  • [–] [S] 6 points 1 week ago (1 child)

    serious question: is TDD, like, good? I'm not a professional software engineer or anything (though I recently learned that I'm somehow in the corporate DevSecOps group, ha) but I never got any good results from literally doing the bare minimum to make the thing work and trying to expand it later. I normally spend some time drafting the architecture first, that is how stuff should be structured, how it all connects and what overall total complexity will be. Each time I tried TDD it always bogged down to me and the team refactoring codebase and the tests so new findings can be incorporated up to the point where everyone is like 'stop. we need to sit down and think about this carefully'. Maybe we did it wrong though.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 week ago*

    TDD gives new code and new devs working on the code base a safety net. Yes. You should always use TDD. Imagine writing a test that says, deploy button. Is button gray.

    It returns false. Because the code doesn't even exist yet.

    You write the code that shows a button. You set the button color to gray. The test now passes.

    Now expand that to every piece of code your team writes, require them all to pass before a PR can merge a branch and you've got a massive safety net.

  • source
  • parent