Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In those situations i do feel stupid but also feel relieved. Fixing a semi-colon is easier than fixing some major logic flaw that could have way deeper and worse ramifications.


I think it happened enough that some newer compilers actually post a warning message when it is encountered. Just like switch statements when you don't have a break; statement for every case: clause. In some cases you want the logic to fall through, but it can cause havoc when you didn't want that and you just forgot the break.




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

Search: