Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
The if(0) trick in switch() {} (lonelycoder.com)
4 points by ah- on Nov 1, 2016 | hide | past | favorite | 2 comments


Ugh! Just use a goto statement if you want something like that.


Yikes. This is just asking for bugs.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: