top | item 32961652

(no title)

teknolog | 3 years ago

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

discuss

order

thrwyoilarticle|3 years ago

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.