News for hackers. Stuff that matters.
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.
Re:Antirez' tiny JSON selector library by vram22 on Tuesday November 28, 2023 @03:37AM (#38443656)
There is also setjmp() and longjmp() in C, or there used to be, earlier. Not been using C intensively for a while.
Re:Antirez' tiny JSON selector library by junon on Tuesday November 28, 2023 @07:09AM (#38444879)
Those are still standard and used. It's not possible to do certain things without them.
Re:Antirez' tiny JSON selector library by vram22 on Tuesday November 28, 2023 @03:42PM (#38451016)
Good to know, thank you.