<offtopic> On Thursday, July 19, 2018 at 4:28:00 AM UTC+12, Tony Mechelynck wrote: > > Once upon a time, maybe 40 to 50 years ago, I used to be programming in > COBOL, and if my colleagues and I did use PERFORM statements, GOTOs weren't > shunned either.
Nothing wrong with PERFORM, so long as it was just one paragraph or (IMO preferably) one section being performed. > Then came programming theorists... they told us that GOTO statements were evil No theorists were needed for me to learn to wish the fieriest hell upon any who used GOTO in COBOL (with the possible exception of GOTO paragraph-end in COBOL-74 and earlier). I will bear deep scars on my psyche to my grave from the consequences of use of GOTO. If you needed to be told this, I can only be bewildered. A lot of money, billions, and lives, have been lost through use of GOTO. > But they seem to be doing a comeback in C... "goto" in C was much used one day, and one can find it here and there in the vim source. Either for some performance reason, or to simplify code generation, f.ex. with yacc. But today with modern compilers I deny there is any need at all, and they should be loathed as the spawn of Satan they are. </offtopic> Regards, John Little -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
