TGViewer
Boris Burkov Boris Burkov @borisburkov · 1.13K subscribers
Post #1551 976
ЧИСТЫЙ КОД… НЕ НУЖОН?

Uncle Bob Martin тут набросил с лопаты…

Говорит, перестал читать код, написанный агентами:

Martin surrounds his agents with what he calls extreme constraints: unit tests, Gherkin acceptance tests, QA procedures, cyclomatic complexity thresholds, module size limits, dependency structure analysis, mutation testing, and test coverage requirements. The logic is that if generated code passes all of those gates, confidence in its correctness is high, regardless of whether any human ever read a single function body.


Все это у нас есть (хотя SonarQube/flake8 и т.п. можно ужесточить) и не спасает.

Еще хвалит mutation tests:

"In the end, I have very high confidence in the code they produce because they've had to run the gauntlet of all these constraints and tests," he wrote... Mutation testing alone, which systematically mutates source code to check whether tests actually catch defects, is more rigorous than most human-led review processes at typical engineering teams.


Просим в комменты…
  • 😁 2
More from @borisburkov
  1. Oct 5, 2026photo post
  2. Oct 5, 2026ДЕТЭТЧЕРИЗАЦИЯ И МАНЧЕСТЕРИЗАЦИЯ XX век был веком катастрофических социальных эксперименто…
  3. Oct 2, 2026УЧЕНЫЕ - ВСЕ)) Пока исследователи AI хоронили кодеров, которые, якобы, все (нет, просто ба…
  4. Sep 26, 2026F-35 НЕСЧАСТИЙ Летающий айфон анекдот от Локхид-Мартин F-35 тут в очередной раз насмешил п…
  5. Sep 23, 2026СУТОЧНЫЙ РЕКОД ПО ОПЕРАЦИЯМ РЕПО Ну что, выбрали? Как говорится, “а веревку свою приносить…
  6. Sep 17, 2026photo post
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →