TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

On Cosmetics vs. Intrinsics in Programming

10 pointsby nfrankelalmost 3 years ago

1 comment

recursivedoubtsalmost 3 years ago
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 未加载