Elektrine lite

← Feed

@olafurp@lemmy.world

Post #4071667

2026-07-24 20:13 UTC

I never understand why you wouldn’t want to read the code. I prevent a massive amount of correct slop by just skimming. The LLM will 10 times out of 10 never ask “this code will be a massive duplication of exact same behavior, do you want to refractor it?” because it’s trained to finish a task without asking if possible. Uncle Bob now writes code for his tests instead of tests for his code. I know it’s TDD but it always seemed backwards to me. Unit tests for logic, integration tests for outside apis, e2e for features is the sweet spot IMO.

Replies (2)

  • @Zannsolo@lemmy.world 2026-07-25 03:43

    I generally only use ai to write code I know what it should look like but don’t want to type it all out.

    Open ##4078953

  • @GoatSynagogue@lemmy.world 2026-07-25 04:21

    Claude and most other of the top coding agents will check the codebase for existing patterns and functionality specifically so it doesn’t duplicate behaviours etc. Have you used any of them recently? That’s one of the first things it does before even writing a line of code.

    Open ##4079463