4 ms·It doesn’t help that the whole function is a huge computed goto mutating things, spanning multiple pages.by ahoka 3y agoIt doesn’t help that the whole function is a huge computed goto mutating things, spanning multiple pages.messe 3y ago…you mean the most common pattern for writing a state machine?anon-3988 3y agoThere's obviously no better way to write state machines...parasti 3y agoCan you elaborate?msla 3y agoIf they could, they wouldn't have used sarcasm.gdprrrr 3y agoNot OP, but in functional languages, state machines are often simply a function (State, Input) -> Statediogenes4 3y agoThis is a well-discussed issue with c memes, not a widespread issue. Even in c, jump tables are a safer alternative.