Re:GOTOphobia Considered Harmful (In C)
by kevin_thibedeau on Sunday February 26, 2023 @10:08PM
(#34952474)
I've seen full spaghetti on recently written C driver code for an IC. The device contained a 24-bit processor that wouldn't have a compiler and its one-man dev team was necessarily doing all of the firmware in assembly. He basically wrote all of the C with assembly style control flow, goto-ing all over the place and zero high level statements.
[ Parent
| on HN ]
There are no comments on this comment yet.