News for hackers. Stuff that matters.
Re:A function decorator that rewrites the bytecode to enable... by Dylan16807 on Tuesday September 21, 2021 @07:29PM (#28611325)
They're not set up in the most elegant way, but the concept of leaving a nested loop is very simple and should definitely be possible without a goto. And switching between states in a state machine, where each state has a single entrance like a normal function, should also be simple.

With goto you can't know at a glance if the code is following those patterns or doing some kind of spaghetti nonsense. It hurts readability.

There are no comments on this comment yet.