Re:Antirez' tiny JSON selector library
by flohofwoe on Tuesday November 28, 2023 @02:48AM
(#38443415)
Goto in C is the tamed and civilized structured-programming goto, it has not much to do with the "considered harmful" unstructured goto from days of yore (e.g. you can't jump out of a function into a completely unrelated part of the program with C's goto like you can in BASIC.
[ Parent
| on HN ]
There is also setjmp() and longjmp() in C, or there used to be, earlier. Not been using C intensively for a while.
Those are still standard and used. It's not possible to do certain things without them.