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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

On Cosmetics vs. Intrinsics in Programming

10 点作者 nfrankel将近 3 年前

1 comment

recursivedoubts将近 3 年前
A good article.<p>I will take the other side of the argument (shocking, I know) and claim that cosmetics are important too, after all: “it is only shallow people who do not judge by appearances.&quot;<p>Developers have to read code and the cosmetics matter here. hyperscript has &quot;async transparency&quot; (<a href="https:&#x2F;&#x2F;hyperscript.org&#x2F;docs&#x2F;#async" rel="nofollow">https:&#x2F;&#x2F;hyperscript.org&#x2F;docs&#x2F;#async</a>) baked into the language, so script writers don&#x27;t have to deal with promises explicitly. That&#x27;s a cosmetic decision, the underlying intrinsic concurrency model is the same as JavaScript, that I chose because I didn&#x27;t like the aesthetics of script writers needing to worry about that level of detail. It was sort of a &quot;looks-right driven development&quot; approach.<p>Now, aesthetics are notoriously subjective and context sensitive, which makes it an impossible problem to &quot;solve&quot; in general, but we shouldn&#x27;t dismiss it because of that. The fact that we argue so much about cosmetics is a strong argument in favor of its importance, even if it has a large subjective component.
评论 #32333751 未加载