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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Try/Catch Considered Harmful

4 点作者 baptou12超过 1 年前

1 comment

eternityforest超过 1 年前
Try blocks tend to only be a few lines long, unless they are defensive programming, in which case one doesn&#x27;t need to reason about them at all, they are only there for the cases you weren&#x27;t able to reason about anyway.<p>Does avoiding large size blocks not mostly solve the issue of confusing logic?
评论 #38169057 未加载