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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Unconditional Loops Are Unconditionally Awesome

3 点作者 brson超过 4 年前

1 comment

quantified超过 4 年前
In C/Java-series languages I always prefer for(;;) over while(true) as I don’t like tautologies. Either of those is better than a do-while or while that has complexity to building and checking the test. Not as elegant as loop{} either way.