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

My first job as a SWE was at Ericsson, and they also had this requirement. Solution: gotos everywhere!


I've seen code that solves it using a `retval` variable, a typical case of code that is written to avoid breaking MISRA rules instead reimplementing the problem that the MISRA rule tries to avoid except with less idiomatic code and more bugs.




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

Search: