TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Linguistic Antipatterns

24 点作者 Kortaggio12 个月前

2 条评论

zer00eyz12 个月前
Even as a very grey bearded dev I love articles like this. Is it &quot;basic&quot;, it sure is, and right on every count!!<p>&quot;Unexpected side effects&quot; is one of my pet peeves (No magic!!!).<p>Its a sin on two counts, bad design and a &quot;linguistic antipattern&quot;
hi-v-rocknroll12 个月前
Except it should probably be called <i>semantic identifier antipatterns</i> because the subset of language that has to do with <i>meaning</i> is the essential idea.<p>By choosing identifiers wisely combined with reducing cyclomatic complexity by describing actions with specific semantically-correct meanings, the amount of required comments and documentation to support a codebase properly can be reduced to essential familiarization material, defining of terms where needed, gotchas, and the explanation of specific engineering decisions and complex code.