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.

The if(0) trick in switch() {}

4 pointsby ah-over 8 years ago

2 comments

DerekLover 8 years ago
Ugh! Just use a goto statement if you want something like that.
blackflame7000over 8 years ago
Yikes. This is just asking for bugs.