by taneq · 10y ago · 0 comments
Calling a core language keyword "goto"? They're brave.
And I'm not convinced of the utility of baking their own C-like imperative language when they could have actually used real C. There are already too many C-like languages out there that are just different enough from C to be annoying.
I thought so too, but it makes sense really. State machine only have one state and can only go to a new state from another - you don't call functions and return to the current state.
Sounds like a dream language :)
This is more or less the only time I would use a goto over similar constructions like switch/case or continue/break.
I'm not advocating to replace those with gotos btw., except for early jumps to cleanup phases.
The reason its harder to debug is because its harder to visualize/understand.