请问HN:人工智能是否改变了你对软件架构和设计的看法?

1作者: Syntaf3 个月前原帖
这是一个相当开放的问题,但我很好奇这里有没有人因为人工智能和大型语言模型在工作场所的普及而改变了他们对软件架构和设计的看法或方法。 就我个人而言,我发现“抽屉里的锋利刀具”这一范式可能会导致大型语言模型产生一些相当糟糕的输出;我感觉到,模糊性越高,输出质量的差异性就越大。 这改变了我对架构与设计的看法: * 始终执行严格的契约,即做X的唯一方式是通过Y。 * 大声失败,频繁失败,假设和后备方案只会鼓励人工智能做出更大的假设。 * 无聊更好,实施的“魔法”越少,语言模型理解和扩展的难度就越小。 还有其他人想分享与架构与设计以及人工智能相关的真知灼见吗?
查看原文
Pretty open ended question, but curious if any folks here have shifted their views or approaches to software architecture &amp; design with the prevalence of AI &#x2F; LLMs in the workplace now.<p>Personally, I&#x27;ve found that the paradigm of &quot;sharp knives in the drawer&quot; can lead to some pretty nasty output from LLMs; it&#x27;s felt to me like the higher the ambiguity the higher the variance in quality.<p>This has shifted my approach to A&amp;D:<p>* Always enforce strict contracts, i.e. the ONLY way to do X is through Y.<p>* Fail loudly and fail often, assumptions and fallbacks only encourage AI to make larger assumptions.<p>* Boring is better, the less magic you implement the easier it is for LLMs to understand and extend.<p>Anyone else have some nuggets of truth they&#x27;d want to share as it pertains to A&amp;D + AI?