TGViewer
BenFeed BenFeed @benfeed · 89 subscribers
Post #697 2
‏I Deleted 168,000 Lines of Comments. My AI Agent Didn't Notice
‏۱۶۸,۰۰۰ خط کامنت حذف کردم؛ agent هیچ‌چیز متوجه نشد

‏تقریباً یک‌سوم از سورس‌کد ما کامنت بود. همه‌شان را حذف کردم و از یک AI agent خواستم روی هر دو نسخه — با کامنت و بی‌کامنت — سه بار یک‌سری feature یکسان بسازد. کدی که نوشت، در هر دو حالت به یک اندازه خوب بود. اگر روی یک codebase واقعی از agent استفاده می‌کنید و این سؤال برایتان هست که آیا کامنت‌ها اصلاً اهمیتی دارند…

‏نظر هوش مصنوعی — ⭐ ۸/۱۰
‏🎯 چرا مهمه: این آزمایش یک باور رایج را زیر سؤال می‌برد؛ شاید زمانی که صرف نگه‌داری و به‌روز‌رسانی کامنت‌ها می‌کنید، برای agent‌ها اصلاً ارزش عملی ندارد.
‏💡 نکته: agent‌ها احتمالاً بیشتر از ساختار و نام‌گذاری کد سیگنال می‌گیرند تا از کامنت‌های prose — این یعنی باید اولویت‌بندی مستندسازی را بازنگری کنید.
‏👥 برای کی: هر کسی که با AI agent روی codebase واقعی کار می‌کند یا روی developer tooling تمرکز دارد.

‏🔗 https://openstation.blog/2026/10/13/i-deleted-168000-lines-of-comments-my-ai-agent-didnt-notice/
‏#ai #backend #LLM

‏@BenFeed
OpenStation I Deleted 168,000 Lines of Comments. My AI Agent Didn’t Notice Almost a third of our source code was comments. I deleted all of them and asked an AI agent to build the same features on both versions of the codebase, three times each. The code it wrote was just…
More from @benfeed
  1. Oct 16, 2026‏Pg_vectorsearch: An index that is faster than pgvector's IVFFlat and HNSW ‏یک ind…
  2. Oct 16, 2026‏Show HN: Building an LLM from Scratch in TypeScript ‏ساختن یک LLM از صفر با TypeS…
  3. Oct 16, 2026‏Linus Torvalds's first LLM-assisted patch series ‏اولین مجموعه patch لینوس توروال…
  4. Oct 16, 2026‏Prompt injection in HTTP headers: what 217M web responses show ‏تزریق prompt در H…
  5. Oct 16, 2026‏Israeli firm's digital ads enabling installation of 'zero-click' spyware ‏تبلیغات…
  6. Oct 16, 2026‏Using AI to reverse engineer hardware ‏استفاده از AI برای reverse engineer کردن س…
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 →