News for hackers. Stuff that matters.
Re:Banned C standard library functions in Git source code by dtech on Sunday August 25, 2019 @03:57PM (#20795124)
Goto sounds like a generally bad idea in a more expressive language like Javascript. Can you give an example of some Javascript-with-goto code that would be better than vanilla Javascript?
Re:Banned C standard library functions in Git source code by zzo38computer on Sunday August 25, 2019 @04:41PM (#20795429)
I have sometimes encountered such thing (but I do not remember right now), but what I do know is that goto is more helpful in C than in JavaScript. That doesn't mean that goto isn't worth anything in JavaScript, but only that there are less circumstances where it is useful compared to the other stuff. (The same is true of macros.)