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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Is async/await a step back to JavaScript?

2 点作者 jbish超过 8 年前

1 comment

invaliduser超过 8 年前
So the author rejects what is basically syntactic sugar around the Promises because it _looks_ _like_ imperative programming, even though it&#x27;s 100% promises, and makes the code cleaner to read and easier to understand?<p>It reminds me when object oriented programming was the trend of the day, and people got crazy about it. Every bit of code just had to be OO, and people would rewrite everything, including operating systems and network stacks. It was crazy because OO had become not a means to and end, but an end in itself.<p>Sometimes I feel like we are back at it again, but with functional programming.