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.

Unconditional Loops Are Unconditionally Awesome

3 pointsby brsonover 4 years ago

1 comment

quantifiedover 4 years ago
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.