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.

Debugging with a Circular Buffer

4 pointsby marcuaabout 15 years ago

1 comment

tptacekabout 15 years ago
Nice, but next time use (counter = (counter + 1) % SIZE) instead of burying an if() statement in a macro.
评论 #1371169 未加载